lkml.org 
[lkml]   [2000]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] warning: junk on line after #undef in sym53c8xx_comm.h
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:1.128 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site