Skip to content

Commit

Permalink
[PATCH] ac97_codec: make bitfield unsigned
Browse files Browse the repository at this point in the history
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: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and Linus Torvalds committed Jun 28, 2006
1 parent e85f8dc commit be6990e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/ac97_codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ struct ac97_codec {
int type;
u32 model;

int modem:1;
unsigned int modem:1;

struct ac97_ops *codec_ops;

Expand Down

0 comments on commit be6990e

Please sign in to comment.