提交 be6990e7 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

[PATCH] ac97_codec: make bitfield unsigned

Make a 1-bit bitfield unsigned (no space for sign bit).
Removes 24 sparse warnings from this one file:
include/linux/ac97_codec.h:262:13: error: dubious one-bit signed bitfield
Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 e85f8dcc
......@@ -259,7 +259,7 @@ struct ac97_codec {
int type;
u32 model;
int modem:1;
unsigned int modem:1;
struct ac97_ops *codec_ops;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册