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

2018-10-03 Thread Larry Finger
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

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

2018-10-03 Thread Larry Finger
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

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

2018-10-03 Thread Luc Van Oostenryck
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

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

2018-10-03 Thread Luc Van Oostenryck
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

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

2018-10-03 Thread Randy Dunlap
[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

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

2018-10-03 Thread Randy Dunlap
[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

Sparse warnings from calls to max3() and max

2018-10-02 Thread Larry Finger
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.

Sparse warnings from calls to max3() and max

2018-10-02 Thread Larry Finger
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.