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