From: Michael Buesch <fsdeveloper@yahoo.de>
To: Gerard Roudier <groudier@free.fr>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4.21-bk1] SYMBIOS/LSILOGIC 53C8XX and 53C1010 compile warning fix
Date: Sat, 5 Jul 2003 19:43:32 +0200 [thread overview]
Message-ID: <200307051943.32321.fsdeveloper@yahoo.de> (raw)
-----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-----
reply other threads:[~2003-07-05 19:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200307051943.32321.fsdeveloper@yahoo.de \
--to=fsdeveloper@yahoo.de \
--cc=groudier@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.