All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4.21-bk1] SYMBIOS/LSILOGIC 53C8XX and 53C1010 compile warning fix
@ 2003-07-05 17:43 Michael Buesch
  0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2003-07-05 17:43 UTC (permalink / raw)
  To: Gerard Roudier; +Cc: Marcelo Tosatti, Linux Kernel Mailing List

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-05 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-05 17:43 [PATCH 2.4.21-bk1] SYMBIOS/LSILOGIC 53C8XX and 53C1010 compile warning fix Michael Buesch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.