[PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk
authorLucas Correia Villa Real <lucasvr@gobolinux.org>
Sat, 23 Jul 2005 23:15:46 +0000 (00:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 23 Jul 2005 23:15:46 +0000 (00:15 +0100)
Patch from Lucas Correia Villa Real

This patch replaces the sizeof()'s %d specifier by %ld on a S3C2410 DMA
printk.

Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/dma.c

index c7c2889..65feaf2 100644 (file)
@@ -436,7 +436,7 @@ int s3c2410_dma_enqueue(unsigned int channel, void *id,
 
        buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC);
        if (buf == NULL) {
-               pr_debug("%s: out of memory (%d alloc)\n",
+               pr_debug("%s: out of memory (%ld alloc)\n",
                         __FUNCTION__, sizeof(*buf));
                return -ENOMEM;
        }