Pārlūkot izejas kodu

[PATCH] oss/via: make bitfield unsigned

Make a 1-bit field unsigned like all of the others near it.
sound/oss/via82cxxx_audio.c:311:21: error: dubious one-bit signed bitfield

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Randy Dunlap 19 gadi atpakaļ
vecāks
revīzija
1e866f0bf8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      sound/oss/via82cxxx_audio.c

+ 1 - 1
sound/oss/via82cxxx_audio.c

@@ -309,7 +309,7 @@ struct via_info {
 	unsigned sixchannel: 1;	/* 8233/35 with 6 channel support */
 	unsigned sixchannel: 1;	/* 8233/35 with 6 channel support */
 	unsigned volume: 1;
 	unsigned volume: 1;
 
 
-	int locked_rate : 1;
+	unsigned locked_rate : 1;
 	
 	
 	int mixer_vol;		/* 8233/35 volume  - not yet implemented */
 	int mixer_vol;		/* 8233/35 volume  - not yet implemented */