Hello!
This patch adds that newline :-)
gcc version 2.96 20000530 (experimental)
kernel 2.4.0-test5-pre3
alpha AXPpci33 'noname'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o gen-devlist gen-devlist.c
./gen-devlist <pci.ids
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 names.o names.c
In file included from names.c:11:
/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
In file included from names.c:38:
devlist.h:1273:27: warning: trigraph ??) ignored
devlist.h:6341:26: warning: trigraph ??) ignored
In file included from names.c:44:
devlist.h:1273:27: warning: trigraph ??) ignored
devlist.h:6341:26: warning: trigraph ??) ignored
In file included from names.c:50:
devlist.h:1273:27: warning: trigraph ??) ignored
devlist.h:6341:26: warning: trigraph ??) ignored
In file included from names.c:103:
classlist.h:88:13: warning: no newline at end of file
In file included from names.c:108:
classlist.h:88:13: warning: no newline at end of file
Bye,
Thorsten
diff -ur linux-2.4.0-test5-pre3/drivers/pci/gen-devlist.c linux-2.4.0-test5-pre3-work/drivers/pci/gen-devlist.c
--- linux-2.4.0-test5-pre3/drivers/pci/gen-devlist.c Mon Mar 27 22:29:13 2000
+++ linux-2.4.0-test5-pre3-work/drivers/pci/gen-devlist.c Fri Jul 21 16:49:17 2000
@@ -115,7 +115,7 @@
#undef VENDOR\n\
#undef DEVICE\n\
#undef ENDVENDOR\n", devf);
- fputs("\n#undef CLASS", clsf);
+ fputs("\n#undef CLASS\n", clsf);
fclose(devf);
fclose(clsf);
-- | 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