Re: Sparse warnings from sched.h

2017-11-26 Thread luca abeni
On Sat, 25 Nov 2017 21:46:11 -0800 Jakub Kicinski wrote: > Hi! > > Did these: > > ./include/linux/sched.h:476:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:477:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:478:62: error: dubious

Re: Sparse warnings from sched.h

2017-11-26 Thread luca abeni
On Sat, 25 Nov 2017 21:46:11 -0800 Jakub Kicinski wrote: > Hi! > > Did these: > > ./include/linux/sched.h:476:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:477:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:478:62: error: dubious one-bit signed

Re: Sparse warnings from sched.h

2017-11-26 Thread Matthew Wilcox
On Sat, Nov 25, 2017 at 09:46:11PM -0800, Jakub Kicinski wrote: > Hi! > > Did these: > > ./include/linux/sched.h:476:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:477:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:478:62: error: dubious one-bit signed

Re: Sparse warnings from sched.h

2017-11-26 Thread Matthew Wilcox
On Sat, Nov 25, 2017 at 09:46:11PM -0800, Jakub Kicinski wrote: > Hi! > > Did these: > > ./include/linux/sched.h:476:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:477:62: error: dubious one-bit signed bitfield > ./include/linux/sched.h:478:62: error: dubious one-bit signed

Sparse warnings from sched.h

2017-11-25 Thread Jakub Kicinski
Hi! Did these: ./include/linux/sched.h:476:62: error: dubious one-bit signed bitfield ./include/linux/sched.h:477:62: error: dubious one-bit signed bitfield ./include/linux/sched.h:478:62: error: dubious one-bit signed bitfield ./include/linux/sched.h:479:62: error: dubious one-bit signed

Sparse warnings from sched.h

2017-11-25 Thread Jakub Kicinski
Hi! Did these: ./include/linux/sched.h:476:62: error: dubious one-bit signed bitfield ./include/linux/sched.h:477:62: error: dubious one-bit signed bitfield ./include/linux/sched.h:478:62: error: dubious one-bit signed bitfield ./include/linux/sched.h:479:62: error: dubious one-bit signed

Re: New sparse warnings from sched.h

2017-11-15 Thread Ingo Molnar
* Matthew Wilcox wrote: > On Wed, Nov 15, 2017 at 09:27:43AM +0100, Ingo Molnar wrote: > > * Matthew Wilcox wrote: > > > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > > > Author: luca abeni > > > Date: Thu Sep 7

Re: New sparse warnings from sched.h

2017-11-15 Thread Ingo Molnar
* Matthew Wilcox wrote: > On Wed, Nov 15, 2017 at 09:27:43AM +0100, Ingo Molnar wrote: > > * Matthew Wilcox wrote: > > > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > > > Author: luca abeni > > > Date: Thu Sep 7 12:09:31 2017 +0200 > > > > > > sched/deadline: Use C bitfields for

Re: New sparse warnings from sched.h

2017-11-15 Thread Matthew Wilcox
On Wed, Nov 15, 2017 at 09:27:43AM +0100, Ingo Molnar wrote: > * Matthew Wilcox wrote: > > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > > Author: luca abeni > > Date: Thu Sep 7 12:09:31 2017 +0200 > > > > sched/deadline: Use C

Re: New sparse warnings from sched.h

2017-11-15 Thread Matthew Wilcox
On Wed, Nov 15, 2017 at 09:27:43AM +0100, Ingo Molnar wrote: > * Matthew Wilcox wrote: > > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > > Author: luca abeni > > Date: Thu Sep 7 12:09:31 2017 +0200 > > > > sched/deadline: Use C bitfields for the state flags > > > > Ask the

Re: New sparse warnings from sched.h

2017-11-15 Thread luca abeni
Hi, On Tue, 14 Nov 2017 12:41:35 -0800 Matthew Wilcox wrote: > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > Author: luca abeni > Date: Thu Sep 7 12:09:31 2017 +0200 > > sched/deadline: Use C bitfields for the state flags > >

Re: New sparse warnings from sched.h

2017-11-15 Thread luca abeni
Hi, On Tue, 14 Nov 2017 12:41:35 -0800 Matthew Wilcox wrote: > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > Author: luca abeni > Date: Thu Sep 7 12:09:31 2017 +0200 > > sched/deadline: Use C bitfields for the state flags > > Ask the compiler to use a single bit for storing

Re: New sparse warnings from sched.h

2017-11-15 Thread Ingo Molnar
* Matthew Wilcox wrote: > > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > Author: luca abeni > Date: Thu Sep 7 12:09:31 2017 +0200 > > sched/deadline: Use C bitfields for the state flags > > Ask the compiler to use a single

Re: New sparse warnings from sched.h

2017-11-15 Thread Ingo Molnar
* Matthew Wilcox wrote: > > commit 799ba82de01e7543f6b2042e1a739f3a20255f23 > Author: luca abeni > Date: Thu Sep 7 12:09:31 2017 +0200 > > sched/deadline: Use C bitfields for the state flags > > Ask the compiler to use a single bit for storing true / false values, >

New sparse warnings from sched.h

2017-11-14 Thread Matthew Wilcox
commit 799ba82de01e7543f6b2042e1a739f3a20255f23 Author: luca abeni Date: Thu Sep 7 12:09:31 2017 +0200 sched/deadline: Use C bitfields for the state flags Ask the compiler to use a single bit for storing true / false values, instead of wasting the

New sparse warnings from sched.h

2017-11-14 Thread Matthew Wilcox
commit 799ba82de01e7543f6b2042e1a739f3a20255f23 Author: luca abeni Date: Thu Sep 7 12:09:31 2017 +0200 sched/deadline: Use C bitfields for the state flags Ask the compiler to use a single bit for storing true / false values, instead of wasting the size of a whole int value.