lkml.org 
[lkml]   [2018]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Sparse warnings from calls to max3() and max
From
Date
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

\
 
 \ /
  Last update: 2018-10-04 01:39    [W:0.086 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site