summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-05-26 12:17:52 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 14:05:10 -0400
commit1bb563334858f48f65b58bab6d10b54080f4ee42 (patch)
tree35d63d35061bb25cd09ae0b4cd65c33230a3ebd2 /drivers/net/wireless
parentb63b0ea2c18bba44c934ec619ba47488553c3aa3 (diff)
downloadkernel-crypto-1bb563334858f48f65b58bab6d10b54080f4ee42.tar.gz
kernel-crypto-1bb563334858f48f65b58bab6d10b54080f4ee42.tar.xz
kernel-crypto-1bb563334858f48f65b58bab6d10b54080f4ee42.zip
iwmc3200wifi: fix printk format
Fix printk format for size_t variable: drivers/net/wireless/iwmc3200wifi/fw.c:75: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: ilw@linux.intel.com Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/fw.c b/drivers/net/wireless/iwmc3200wifi/fw.c
index db4ba086473..ec1a15a5a0e 100644
--- a/drivers/net/wireless/iwmc3200wifi/fw.c
+++ b/drivers/net/wireless/iwmc3200wifi/fw.c
@@ -72,7 +72,7 @@ static int iwm_fw_op_offset(struct iwm_priv *iwm, const struct firmware *fw,
}
if (fw->size < IWM_HDR_LEN) {
- IWM_ERR(iwm, "FW is too small (%d)\n", fw->size);
+ IWM_ERR(iwm, "FW is too small (%zu)\n", fw->size);
return -EINVAL;
}