public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4.29] sym53c8xx.c - Add ULL suffix to fix warning
@ 2005-02-03  1:55 Mark F. Haigh
  0 siblings, 0 replies; only message in thread
From: Mark F. Haigh @ 2005-02-03  1:55 UTC (permalink / raw)
  To: linux-scsi; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]


Noticed that in drivers/scsi/sym53c8xx.c:

sym53c8xx.c:13185: warning: integer constant is too large for "long" type

Since we're not dealing with C99 (yet), this 64 bit integer constant
needs to be suffixed with ULL.  Patch included.


Mark F. Haigh
Mark.Haigh@spirentcom.com


[-- Attachment #2: sym53c8xx-patch --]
[-- Type: text/plain, Size: 414 bytes --]

--- drivers/scsi/sym53c8xx.c.orig	2005-02-02 14:35:52.981929312 -0800
+++ drivers/scsi/sym53c8xx.c	2005-02-02 14:38:38.496767232 -0800
@@ -13182,7 +13182,7 @@
 	** descriptors.
 	*/
 	if (chip && (chip->features & FE_DAC)) {
-		if (pci_set_dma_mask(pdev, (u64) 0xffffffffff))
+		if (pci_set_dma_mask(pdev, (u64) 0xffffffffffULL))
 			chip->features &= ~FE_DAC_IN_USE;
 		else
 			chip->features |= FE_DAC_IN_USE;


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

only message in thread, other threads:[~2005-02-03  1:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-03  1:55 [PATCH 2.4.29] sym53c8xx.c - Add ULL suffix to fix warning Mark F. Haigh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox