diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-09-15 14:52:40 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-16 16:21:00 -0400 |
commit | de32cce132a9c96e1ba3fddc0c5a6d110af42ea4 (patch) | |
tree | 873718996c653b67633b5ba2256503e3c0f37b0e /drivers/ssb | |
parent | f7f71173ea69d4dabf166533beffa9294090b7ef (diff) | |
download | linux-de32cce132a9c96e1ba3fddc0c5a6d110af42ea4.tar.gz linux-de32cce132a9c96e1ba3fddc0c5a6d110af42ea4.tar.bz2 linux-de32cce132a9c96e1ba3fddc0c5a6d110af42ea4.zip |
ssb/sdio: fix printk format warnings
Fix printk format warnings:
drivers/ssb/sdio.c:336: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
drivers/ssb/sdio.c:443: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/sdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ssb/sdio.c b/drivers/ssb/sdio.c index 4ff73473e695..65a6080cb02a 100644 --- a/drivers/ssb/sdio.c +++ b/drivers/ssb/sdio.c @@ -333,7 +333,7 @@ static void ssb_sdio_block_read(struct ssb_device *dev, void *buffer, goto out; err_out: - dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%u), error %d\n", + dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%zu), error %d\n", bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); out: sdio_release_host(bus->host_sdio); @@ -440,7 +440,7 @@ static void ssb_sdio_block_write(struct ssb_device *dev, const void *buffer, goto out; err_out: - dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%u), error %d\n", + dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%zu), error %d\n", bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); out: sdio_release_host(bus->host_sdio); |