diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-02-25 09:55:03 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:43:04 -0800 |
commit | 83a0f9bc658b20b06740691d9ee711c5d14b6e8a (patch) | |
tree | bfb8bdbf13ad2e0107b8e017ad4c0ba728614a9a | |
parent | 128a5d0223ebef1cb6c0d94b3f87b49e38a11443 (diff) | |
download | linux-stable-83a0f9bc658b20b06740691d9ee711c5d14b6e8a.tar.gz linux-stable-83a0f9bc658b20b06740691d9ee711c5d14b6e8a.tar.bz2 linux-stable-83a0f9bc658b20b06740691d9ee711c5d14b6e8a.zip |
Staging: fix wlan-ng printk format warning
Fix prism2fw.c printk format warning:
drivers/staging/wlan-ng/prism2fw.c:209: 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: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/wlan-ng/prism2fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c index baa20a7c930d..b57601250dc7 100644 --- a/drivers/staging/wlan-ng/prism2fw.c +++ b/drivers/staging/wlan-ng/prism2fw.c @@ -205,7 +205,7 @@ int prism2_fwtry(struct usb_device *udev, wlandevice_t *wlandev) return 1; } - printk(KERN_INFO "prism2_usb: %s will be processed, size %d\n", + printk(KERN_INFO "prism2_usb: %s will be processed, size %zu\n", PRISM2_USB_FWFILE, fw_entry->size); prism2_fwapply((const struct ihex_binrec *)fw_entry->data, wlandev); |