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

From: Michael Buesch (fsdeveloper@yahoo.de)
Date: Sat Jul 05 2003 - 12:43:32 EST


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



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:25 EST