Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be6990e7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e85f8dcc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ struct ac97_codec {
	int type;
	u32 model;

	int modem:1;
	unsigned int modem:1;

	struct ac97_ops *codec_ops;