summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-07-03 19:24:19 -0700
committerDavid S. Miller <davem@davemloft.net>2006-07-03 19:24:19 -0700
commitc1b4df5d2a5b1a9c037fe3b2e42804cf1267c750 (patch)
tree2e21f21d25c4c5dc315b230d9dbe792799eca4be /drivers/dma
parent912b2539e1e062cec73e2e61448e507f7719bd08 (diff)
downloadop-kernel-dev-c1b4df5d2a5b1a9c037fe3b2e42804cf1267c750.zip
op-kernel-dev-c1b4df5d2a5b1a9c037fe3b2e42804cf1267c750.tar.gz
[IOAT]: fix sparse ulong warning
Fix sparse warning: drivers/dma/ioatdma.c:444:32: warning: constant 0xFFFFFFFFFFFFFFC0 is so big it is unsigned long Also needs a MAINTAINERS entry. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ioatdma_registers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioatdma_registers.h b/drivers/dma/ioatdma_registers.h
index 41a21ab..a30c734 100644
--- a/drivers/dma/ioatdma_registers.h
+++ b/drivers/dma/ioatdma_registers.h
@@ -76,7 +76,7 @@
#define IOAT_CHANSTS_OFFSET 0x04 /* 64-bit Channel Status Register */
#define IOAT_CHANSTS_OFFSET_LOW 0x04
#define IOAT_CHANSTS_OFFSET_HIGH 0x08
-#define IOAT_CHANSTS_COMPLETED_DESCRIPTOR_ADDR 0xFFFFFFFFFFFFFFC0
+#define IOAT_CHANSTS_COMPLETED_DESCRIPTOR_ADDR 0xFFFFFFFFFFFFFFC0UL
#define IOAT_CHANSTS_SOFT_ERR 0x0000000000000010
#define IOAT_CHANSTS_DMA_TRANSFER_STATUS 0x0000000000000007
#define IOAT_CHANSTS_DMA_TRANSFER_STATUS_ACTIVE 0x0
OpenPOWER on IntegriCloud