[PATCH 2.4.21-bk1] SYMBIOS/LSILOGIC 53C8XX and 53C1010 compile warning fix

Michael Buesch (fsdeveloper@yahoo.de)
Sat, 5 Jul 2003 19:43:32 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

fixes "Warning: integer constant is too large for "long" type"
compiletime warning.

- --- drivers/scsi/sym53c8xx_2/sym_glue.c.orig 2002-11-29 19:26:38.000000000 +0100
+++ drivers/scsi/sym53c8xx_2/sym_glue.c 2003-07-05 19:40:13.000000000 +0200
@@ -1879,9 +1879,9 @@
goto out_err32;
#else
#if SYM_CONF_DMA_ADDRESSING_MODE == 1
- -#define PciDmaMask 0xffffffffff
+#define PciDmaMask 0xffffffffffULL
#elif SYM_CONF_DMA_ADDRESSING_MODE == 2
- -#define PciDmaMask 0xffffffffffffffff
+#define PciDmaMask 0xffffffffffffffffULL
#endif
if (np->features & FE_DAC) {
if (!pci_set_dma_mask(np->s.device, PciDmaMask)) {

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
19:37:11 up 40 min, 3 users, load average: 1.05, 1.09, 1.08

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Bw5EoxoigfggmSgRAhpwAJ9hRJbZVnMGOemM+/TaL8GKx/azCQCfWTfW
w0kwmmVbLZA+u6/dWwNMHl4=
=UD4Q
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/