diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-02-20 08:54:44 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-20 08:54:44 (GMT) |
commit | 0d5048a96fc51d976ac777e3d78762b4dd241693 (patch) | |
tree | d1fbed5f17d4bb065a3922d80a1deb0a6fffe631 | |
parent | 2cf0dbed27af3f827a96db98c2535002902f6af0 (diff) | |
download | linux-0d5048a96fc51d976ac777e3d78762b4dd241693.tar.xz |
ISDN: fix sc/shmem printk format warning
Fix isdn/sc/shmem.c printk format warning:
drivers/isdn/sc/shmem.c:57: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/isdn/sc/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/sc/shmem.c b/drivers/isdn/sc/shmem.c index 712220c..7f16d75 100644 --- a/drivers/isdn/sc/shmem.c +++ b/drivers/isdn/sc/shmem.c @@ -54,7 +54,7 @@ void memcpy_toshmem(int card, void *dest, const void *src, size_t n) spin_unlock_irqrestore(&sc_adapter[card]->lock, flags); pr_debug("%s: set page to %#x\n",sc_adapter[card]->devicename, ((sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE)>>14)|0x80); - pr_debug("%s: copying %d bytes from %#lx to %#lx\n", + pr_debug("%s: copying %zu bytes from %#lx to %#lx\n", sc_adapter[card]->devicename, n, (unsigned long) src, sc_adapter[card]->rambase + ((unsigned long) dest %0x4000)); |