Re: [PATCH] thread_info: suppress sparse warning in check_copy_size()

2017-07-28 Thread Luc Van Oostenryck
On Thu, Jul 27, 2017 at 12:41 AM, Linus Torvalds wrote: > This is wrong. The sparse version of __compiletime_object_size() > should just be fixed to take a 'const' pointer without complaints. The underlying __builtin_object_size() has been fixed in the sparse tree 6 months ago or so. -- Luc

Re: [PATCH] thread_info: suppress sparse warning in check_copy_size()

2017-07-26 Thread Linus Torvalds
This is wrong. The sparse version of __compiletime_object_size() should just be fixed to take a 'const' pointer without complaints. Linus

[PATCH] thread_info: suppress sparse warning in check_copy_size()

2017-07-26 Thread AbdAllah-MEZITI
This patch fixes the following sparse warning in thread_info.h: ./include/linux/thread_info.h:129:18: warning: incorrect type in argument 1 (different modifiers) ./include/linux/thread_info.h:129:18:expected void * ./include/linux/thread_info.h:129:18:got void const *addr Signed-off-by: A