Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698612

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

From Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] thread_info: suppress sparse warning in check_copy_size()
Date 2017-07-28 11:20 +0200
Message-ID <u89B7-1Pt-5@gated-at.bofh.it> (permalink)
References <u7CYy-6ee-11@gated-at.bofh.it> <u7DhT-6kZ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] thread_info: suppress sparse warning in check_copy_size() AbdAllah-MEZITI <abdallah.meziti.pro@gmail.com> - 2017-07-27 00:30 +0200
  Re: [PATCH] thread_info: suppress sparse warning in check_copy_size() Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-27 00:50 +0200
    Re: [PATCH] thread_info: suppress sparse warning in check_copy_size() Luc Van Oostenryck <luc.vanoostenryck@gmail.com> - 2017-07-28 11:20 +0200

csiph-web