linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sparse warnings from calls to max3() and max
@ 2018-10-02 23:44 Larry Finger
  2018-10-03 20:43 ` Randy Dunlap
  2018-10-03 22:29 ` Luc Van Oostenryck
  0 siblings, 2 replies; 4+ messages in thread
From: Larry Finger @ 2018-10-02 23:44 UTC (permalink / raw)
  To: LKML, Christopher Li

Hi,

Sparse has suddenly started issuing as many as 11 warnings of "expression using 
sizeof(void)" for each call to max3(). There are similar warnings for calls to 
max(), thus I think this is the origin of the problem. My sparse version is 
20180324-1.3-x86_64 installed in openSUSE Tumbleweed. My kernel is 4.19.0-rc6.

Thanks,

Larry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sparse warnings from calls to max3() and max
  2018-10-02 23:44 Sparse warnings from calls to max3() and max Larry Finger
@ 2018-10-03 20:43 ` Randy Dunlap
  2018-10-03 22:29 ` Luc Van Oostenryck
  1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2018-10-03 20:43 UTC (permalink / raw)
  To: Larry Finger, LKML, Christopher Li, Linux-Sparse

[adding linux-sparse mailing list]


On 10/2/18 4:44 PM, Larry Finger wrote:
> Hi,
> 
> Sparse has suddenly started issuing as many as 11 warnings of "expression using sizeof(void)" for each call to max3(). There are similar warnings for calls to max(), thus I think this is the origin of the problem. My sparse version is 20180324-1.3-x86_64 installed in openSUSE Tumbleweed. My kernel is 4.19.0-rc6.
> 
> Thanks,
> 
> Larry


-- 
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sparse warnings from calls to max3() and max
  2018-10-02 23:44 Sparse warnings from calls to max3() and max Larry Finger
  2018-10-03 20:43 ` Randy Dunlap
@ 2018-10-03 22:29 ` Luc Van Oostenryck
  2018-10-03 23:38   ` Larry Finger
  1 sibling, 1 reply; 4+ messages in thread
From: Luc Van Oostenryck @ 2018-10-03 22:29 UTC (permalink / raw)
  To: Larry Finger; +Cc: LKML, Christopher Li, Randy Dunlap

On Tue, Oct 02, 2018 at 06:44:39PM -0500, Larry Finger wrote:
> Hi,
> 
> Sparse has suddenly started issuing as many as 11 warnings of
> "expression using sizeof(void)" for each call to max3(). There are
> similar warnings for calls to max(), thus I think this is the origin
> of the problem. My sparse version is 20180324-1.3-x86_64 installed
> in openSUSE Tumbleweed. My kernel is 4.19.0-rc6.

Hi,

This problem is resolved in a more recent version of sparse,
the one you can find at:
  git://github.com/lucvoo/sparse-dev

See Linus' email about it:
  https://lore.kernel.org/lkml/CA+55aFzYEnZR2GZLR-DwpONjMNYGYoDy+6AWLCVNayWiaZuqoA@mail.gmail.com/T/#u

NB. The official version hosted on kernel.org is not uptodate but
    I hope this will solved in a few weeks.

Best regards,
-- Luc Van Oostenryck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sparse warnings from calls to max3() and max
  2018-10-03 22:29 ` Luc Van Oostenryck
@ 2018-10-03 23:38   ` Larry Finger
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Finger @ 2018-10-03 23:38 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: LKML, Christopher Li, Randy Dunlap

On 10/3/18 5:29 PM, Luc Van Oostenryck wrote:
> On Tue, Oct 02, 2018 at 06:44:39PM -0500, Larry Finger wrote:
>> Hi,
>>
>> Sparse has suddenly started issuing as many as 11 warnings of
>> "expression using sizeof(void)" for each call to max3(). There are
>> similar warnings for calls to max(), thus I think this is the origin
>> of the problem. My sparse version is 20180324-1.3-x86_64 installed
>> in openSUSE Tumbleweed. My kernel is 4.19.0-rc6.
> 
> Hi,
> 
> This problem is resolved in a more recent version of sparse,
> the one you can find at:
>    git://github.com/lucvoo/sparse-dev
> 
> See Linus' email about it:
>    https://lore.kernel.org/lkml/CA+55aFzYEnZR2GZLR-DwpONjMNYGYoDy+6AWLCVNayWiaZuqoA@mail.gmail.com/T/#u
> 
> NB. The official version hosted on kernel.org is not uptodate but
>      I hope this will solved in a few weeks.

Thanks. I'll ignore those warnings for now.

Larry


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-03 23:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02 23:44 Sparse warnings from calls to max3() and max Larry Finger
2018-10-03 20:43 ` Randy Dunlap
2018-10-03 22:29 ` Luc Van Oostenryck
2018-10-03 23:38   ` Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).