Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134880
b: refs/heads/master
c: bc8263f
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Feb 27, 2009
1 parent 4fc9281 commit 6eef973
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 4aa188e1a868d25c5b93e48e5d29bbd0f9d3bc3a
refs/heads/master: bc8263f1d86946ffe97eb249fc1d6660da1e1055
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/airo.c
Original file line number Diff line number Diff line change
Expand Up @@ -4727,7 +4727,7 @@ static int proc_stats_rid_open( struct inode *inode,
StatsRid stats;
int i, j;
__le32 *vals = stats.vals;
int len = le16_to_cpu(stats.len);
int len;

if ((file->private_data = kzalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)
return -ENOMEM;
Expand All @@ -4738,6 +4738,7 @@ static int proc_stats_rid_open( struct inode *inode,
}

readStatsRid(apriv, &stats, rid, 1);
len = le16_to_cpu(stats.len);

j = 0;
for(i=0; statsLabels[i]!=(char *)-1 && i*4<len; i++) {
Expand Down

0 comments on commit 6eef973

Please sign in to comment.