* [patch 2/5] IOAT: fix sparse ulong warning
@ 2006-06-30 9:27 akpm
2006-07-04 2:25 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-30 9:27 UTC (permalink / raw)
To: davem; +Cc: netdev, akpm, rdunlap, christopher.leech
From: Randy Dunlap <rdunlap@xenotime.net>
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>
Cc: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
drivers/dma/ioatdma_registers.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/dma/ioatdma_registers.h~ioat-fix-sparse-ulong-warning drivers/dma/ioatdma_registers.h
--- a/drivers/dma/ioatdma_registers.h~ioat-fix-sparse-ulong-warning
+++ a/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
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 2/5] IOAT: fix sparse ulong warning
2006-06-30 9:27 [patch 2/5] IOAT: fix sparse ulong warning akpm
@ 2006-07-04 2:25 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-07-04 2:25 UTC (permalink / raw)
To: akpm; +Cc: netdev, rdunlap, christopher.leech
From: akpm@osdl.org
Date: Fri, 30 Jun 2006 02:27:20 -0700
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> 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>
> Cc: Chris Leech <christopher.leech@intel.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
Applied, thanks Randy.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-04 2:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 9:27 [patch 2/5] IOAT: fix sparse ulong warning akpm
2006-07-04 2:25 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).