Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158894
b: refs/heads/master
c: 4244f41
h: refs/heads/master
v: v3
  • Loading branch information
David Kilroy authored and John W. Linville committed Jul 10, 2009
1 parent 7c6e8d2 commit efca10e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a9b5e17952ec7ce938645a23ba29bcfdb66c8d9
refs/heads/master: 4244f41a040288e07d050ea64f60997c584cce9e
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/orinoco/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void orinoco_add_hostscan_results(struct orinoco_private *priv,
/* Sanity check for atom_len */
if (atom_len < sizeof(struct prism2_scan_apinfo)) {
printk(KERN_ERR "%s: Invalid atom_len in scan "
"data: %d\n", priv->ndev->name,
"data: %zu\n", priv->ndev->name,
atom_len);
abort = true;
goto scan_abort;
Expand All @@ -206,8 +206,8 @@ void orinoco_add_hostscan_results(struct orinoco_private *priv,

/* Check that we got an whole number of atoms */
if ((len - offset) % atom_len) {
printk(KERN_ERR "%s: Unexpected scan data length %d, "
"atom_len %d, offset %d\n", priv->ndev->name, len,
printk(KERN_ERR "%s: Unexpected scan data length %zu, "
"atom_len %zu, offset %d\n", priv->ndev->name, len,
atom_len, offset);
abort = true;
goto scan_abort;
Expand Down

0 comments on commit efca10e

Please sign in to comment.