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
[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
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
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