[PATCH 2.4.29] sym53c8xx.c - Add ULL suffix to fix warning
From: Mark F. Haigh
Date: Wed Feb 02 2005 - 21:03:36 EST
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@xxxxxxxxxxxxxx
--- 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;