diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-05-26 15:17:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:10 -0400 |
commit | 1bb563334858f48f65b58bab6d10b54080f4ee42 (patch) | |
tree | 35d63d35061bb25cd09ae0b4cd65c33230a3ebd2 /drivers/net/wireless | |
parent | b63b0ea2c18bba44c934ec619ba47488553c3aa3 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/fw.c b/drivers/net/wireless/iwmc3200wifi/fw.c index db4ba0864730..ec1a15a5a0e4 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, | |||
72 | } | 72 | } |
73 | 73 | ||
74 | if (fw->size < IWM_HDR_LEN) { | 74 | if (fw->size < IWM_HDR_LEN) { |
75 | IWM_ERR(iwm, "FW is too small (%d)\n", fw->size); | 75 | IWM_ERR(iwm, "FW is too small (%zu)\n", fw->size); |
76 | return -EINVAL; | 76 | return -EINVAL; |
77 | } | 77 | } |
78 | 78 | ||