Skip to content

Commit

Permalink
[PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lucas Correia Villa Real authored and Russell King committed Jul 23, 2005
1 parent ab9b633 commit 53776eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 53776eb

Please sign in to comment.