From: Randy Dunlap Date: Wed, 28 Jun 2006 11:26:57 +0000 (-0700) Subject: [PATCH] ac97_codec: make bitfield unsigned X-Git-Tag: v2.6.18-rc1~438 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be6990e7473fcd11becda747c24b94a478413245;p=linux-2.6 [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: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/ac97_codec.h b/include/linux/ac97_codec.h index c35833824e..2ed2fd8551 100644 --- a/include/linux/ac97_codec.h +++ b/include/linux/ac97_codec.h @@ -259,7 +259,7 @@ struct ac97_codec { int type; u32 model; - int modem:1; + unsigned int modem:1; struct ac97_ops *codec_ops;