Re: Sparse warnings from calls to max3() and max

From: Randy Dunlap
Date: Wed Oct 03 2018 - 16:43:22 EST


[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