diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-05-26 12:17:52 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:10 -0400 |
commit | 1bb563334858f48f65b58bab6d10b54080f4ee42 (patch) | |
tree | 35d63d35061bb25cd09ae0b4cd65c33230a3ebd2 | |
parent | b63b0ea2c18bba44c934ec619ba47488553c3aa3 (diff) | |
download | linux-1bb563334858f48f65b58bab6d10b54080f4ee42.tar.gz linux-1bb563334858f48f65b58bab6d10b54080f4ee42.tar.bz2 linux-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>
-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, } 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; } |