summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
diff options
context:
space:
mode:
authorLucas Correia Villa Real <lucasvr@gobolinux.org>2005-07-24 01:15:46 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-07-24 01:15:46 +0200
commit53776eb4acdd3ec576d75b61b656ef8d51e430ea (patch)
tree2a4f0229d57e3164717b268fc7d92cf1c9d1146e /arch/arm/mach-s3c2410
parent[PATCH] ARM SMP: Mark mroe CPU init data with __cpuinitdata (diff)
downloadlinux-53776eb4acdd3ec576d75b61b656ef8d51e430ea.tar.xz
linux-53776eb4acdd3ec576d75b61b656ef8d51e430ea.zip
[PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk
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>
Diffstat (limited to 'arch/arm/mach-s3c2410')
-rw-r--r--arch/arm/mach-s3c2410/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/dma.c b/arch/arm/mach-s3c2410/dma.c
index c7c28890d406..65feaf20d23e 100644
--- a/arch/arm/mach-s3c2410/dma.c
+++ b/arch/arm/mach-s3c2410/dma.c
@@ -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;
}