All of lore.kernel.org
 help / color / mirror / Atom feed
* [kj][Patch] remove implicit sign bit on single bit
@ 2006-02-08  4:17 Darren Jenkins\
  2006-02-08  4:39 ` Nishanth Aravamudan
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Darren Jenkins\ @ 2006-02-08  4:17 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

Hi,

This is my first patch so I hope I get everything right.

http://linuxicc.sourceforge.net/

Warnings/Error while compiling with Intel C Compiler

Says there is a Warning #108: implictly-signed bit field of length 1

in sound/oss/viacXXX_audio.c @ line number 310

looking at the code it seems like it is supposed to be a single bit
field used as a lock. This just makes it unsigned.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>


--- linux-2.6.16-rc2/sound/oss/via82cxxx_audio.c.orig	2006-02-08
13:43:27.000000000 +1100
+++ linux-2.6.16-rc2/sound/oss/via82cxxx_audio.c	2006-02-08
13:45:39.000000000 +1100
@@ -306,9 +306,8 @@ struct via_info {
 	unsigned intmask: 1;	/* Needs int bits */
 	unsigned sixchannel: 1;	/* 8233/35 with 6 channel support */
 	unsigned volume: 1;
+	unsigned locked_rate : 1;
 
-	int locked_rate : 1;
-	
 	int mixer_vol;		/* 8233/35 volume  - not yet implemented */
 
 	struct semaphore syscall_sem;






[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-20 21:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08  4:17 [kj][Patch] remove implicit sign bit on single bit Darren Jenkins\
2006-02-08  4:39 ` Nishanth Aravamudan
2006-02-08  4:39 ` Randy.Dunlap
2006-02-08 22:52 ` Alexey Dobriyan
2006-02-09  0:33 ` Greg KH
2006-02-09  7:15 ` Nishanth Aravamudan
2006-02-09 10:21 ` Darren Jenkins\
2006-02-20 21:34 ` Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.