Hello!
This patch suppresses the warning.
gcc version 2.96 20000530 (experimental)
kernel 2.4.0-test5-pre3
alpha AXPpci33 'noname'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5-pre3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -fno-strict-aliasing -c -o sound_firmware.o sound_firmware.c
In file included from os.h:33,
from sound_firmware.c:1:
/usr/src/linux-2.4.0-test5-pre3/include/linux/pci.h:214:60: warning: trigraph ??) ignored
/usr/src/linux-2.4.0-test5-pre3/include/linux/pci.h:215:61: warning: trigraph ??) ignored
/usr/src/linux-2.4.0-test5-pre3/include/linux/pci.h:217:61: warning: trigraph ??) ignored
/usr/src/linux-2.4.0-test5-pre3/include/linux/pci.h:218:62: warning: trigraph ??) ignored
/usr/src/linux-2.4.0-test5-pre3/include/linux/pci.h:219:70: warning: trigraph ??) ignored
/usr/src/linux-2.4.0-test5-pre3/include/linux/pci.h:220:37: warning: trigraph ??) ignored
sound_firmware.c:10: warning: `errno' defined but not used
Bye,
Thorsten
diff -ur linux-2.4.0-test5-pre3/drivers/sound/sound_firmware.c linux-2.4.0-test5-pre3-work/drivers/sound/sound_firmware.c
--- linux-2.4.0-test5-pre3/drivers/sound/sound_firmware.c Wed Mar 15 01:54:42 2000
+++ linux-2.4.0-test5-pre3-work/drivers/sound/sound_firmware.c Fri Jul 21 16:47:07 2000
@@ -7,7 +7,6 @@
#include <linux/unistd.h>
#include <asm/uaccess.h>
-static int errno;
static int do_mod_firmware_load(const char *fn, char **fp)
{
int fd;
-- | Thorsten Kranzkowski Internet: dl8bcu@gmx.net | | Mobile: ++49 170 1876134 Snail: Niemannsweg 30, 49201 Dissen, Germany | | Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:18 EST