[patch] warning: junk on line after #undef in sym53c8xx_comm.h

From: Thorsten Kranzkowski (th@Marvin.DL8BCU.ampr.org)
Date: Sat Jul 22 2000 - 09:13:11 EST


Hello!
This patch removes that 'junk' :-)

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 ncr53c8xx.o ncr53c8xx.c
In file included from ncr53c8xx.c:133:
/usr/src/linux-2.4.0-test5-pre3/include/linux/delay.h:19:44: warning: trigraph ??/ ignored
In file included from ncr53c8xx.c:137:
/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 ncr53c8xx.c:203:
sym53c8xx_comm.h:1548:16: warning: junk on line after #undef
sym53c8xx_comm.h:1549:16: warning: junk on line after #undef
sym53c8xx_comm.h:1550:16: warning: junk on line after #undef
sym53c8xx_comm.h:1551:16: warning: junk on line after #undef
sym53c8xx_comm.h:503: warning: `remap_pci_mem' defined but not used
sym53c8xx_comm.h:512: warning: `unmap_pci_mem' defined but not used

Bye,
Thorsten

diff -ur linux-2.4.0-test5-pre3/drivers/scsi/sym53c8xx_comm.h linux-2.4.0-test5-pre3-work/drivers/scsi/sym53c8xx_comm.h
--- linux-2.4.0-test5-pre3/drivers/scsi/sym53c8xx_comm.h Wed Jul 19 20:48:57 2000
+++ linux-2.4.0-test5-pre3-work/drivers/scsi/sym53c8xx_comm.h Fri Jul 21 16:57:26 2000
@@ -1545,10 +1545,10 @@
         return retv;
 }
 
-#undef SET_BIT 0
-#undef CLR_BIT 1
-#undef SET_CLK 2
-#undef CLR_CLK 3
+#undef SET_BIT
+#undef CLR_BIT
+#undef SET_CLK
+#undef CLR_CLK
 
 /*
  * Try reading Symbios NVRAM.

-- 
| 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