Skip to contentSkip to conversation

Sparse warnings from sched.h

DISCUSSION Jakub Kicinski 3 participants 3 messages Nov 26, 2017

lore
Share & tools
lore
#0 lore raw

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 bitfield

got fixed? I saw there were patches posted, but nothing have reached Linus's tree, yet.

#1 lore raw
Quoted 11 lines · 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 bitfield

got fixed? I saw there were patches posted, but nothing have reached Linus's tree, yet.

I got an email from tipbot indicating that Ingo merged it to sched/urgent.

Commit-ID:  aa5222e92f8000ed3c1c38dddf11c83222aadfb3
Gitweb:     https://git.kernel.org/tip/aa5222e92f8000ed3c1c38dddf11c83222aadfb3
Author:     Dan Carpenter <[email protected]>
AuthorDate: Fri, 13 Oct 2017 10:01:22 +0300
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 21 Nov 2017 09:25:01 +0100
#2 lore raw
In reply to Jakub Kicinski
Quoted 11 lines · On Sat, 25 Nov 2017 21:46:11 -0800 Jakub Kicinski <[email protected]> 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 bitfield ./include/linux/sched.h:479:62: error: dubious one-bit signed bitfield

got fixed? I saw there were patches posted, but nothing have reached Linus's tree, yet.

I think a fix is in the tip tree:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=aa5222e92f8000ed3c1c38dddf11c83222aadfb3

Luca