aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/orinoco/scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/scan.c b/drivers/net/wireless/orinoco/scan.c
index 522eb98ec6f2..d2f10e9c2162 100644
--- a/drivers/net/wireless/orinoco/scan.c
+++ b/drivers/net/wireless/orinoco/scan.c
@@ -190,7 +190,7 @@ void orinoco_add_hostscan_results(struct orinoco_private *priv,
190 /* Sanity check for atom_len */ 190 /* Sanity check for atom_len */
191 if (atom_len < sizeof(struct prism2_scan_apinfo)) { 191 if (atom_len < sizeof(struct prism2_scan_apinfo)) {
192 printk(KERN_ERR "%s: Invalid atom_len in scan " 192 printk(KERN_ERR "%s: Invalid atom_len in scan "
193 "data: %d\n", priv->ndev->name, 193 "data: %zu\n", priv->ndev->name,
194 atom_len); 194 atom_len);
195 abort = true; 195 abort = true;
196 goto scan_abort; 196 goto scan_abort;
@@ -206,8 +206,8 @@ void orinoco_add_hostscan_results(struct orinoco_private *priv,
206 206
207 /* Check that we got an whole number of atoms */ 207 /* Check that we got an whole number of atoms */
208 if ((len - offset) % atom_len) { 208 if ((len - offset) % atom_len) {
209 printk(KERN_ERR "%s: Unexpected scan data length %d, " 209 printk(KERN_ERR "%s: Unexpected scan data length %zu, "
210 "atom_len %d, offset %d\n", priv->ndev->name, len, 210 "atom_len %zu, offset %d\n", priv->ndev->name, len,
211 atom_len, offset); 211 atom_len, offset);
212 abort = true; 212 abort = true;
213 goto scan_abort; 213 goto scan_abort;