diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-09-15 17:52:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-23 11:35:41 -0400 |
commit | 71702bc13efd3238e02197780d6e62c51c196a9d (patch) | |
tree | a414356c4ea1f885d168e9c0018e0b011b962b1e /drivers | |
parent | c3de943ad6e535ceb5238b3b7d3903c6e294061a (diff) |
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')
-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, | |||
333 | goto out; | 333 | goto out; |
334 | 334 | ||
335 | err_out: | 335 | err_out: |
336 | dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%u), error %d\n", | 336 | dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%zu), error %d\n", |
337 | bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); | 337 | bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); |
338 | out: | 338 | out: |
339 | sdio_release_host(bus->host_sdio); | 339 | sdio_release_host(bus->host_sdio); |
@@ -440,7 +440,7 @@ static void ssb_sdio_block_write(struct ssb_device *dev, const void *buffer, | |||
440 | goto out; | 440 | goto out; |
441 | 441 | ||
442 | err_out: | 442 | err_out: |
443 | dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%u), error %d\n", | 443 | dev_dbg(ssb_sdio_dev(bus), "%04X:%04X (width=%u, len=%zu), error %d\n", |
444 | bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); | 444 | bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); |
445 | out: | 445 | out: |
446 | sdio_release_host(bus->host_sdio); | 446 | sdio_release_host(bus->host_sdio); |