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

From: Luc Van Oostenryck
Date: Fri Jul 28 2017 - 05:16:59 EST


On Thu, Jul 27, 2017 at 12:41 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> 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