Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267492
b: refs/heads/master
c: 8ac98a5
h: refs/heads/master
v: v3
  • Loading branch information
Henry Ptasinski authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 7eef1ee commit da4baff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: c9be7049ad7892d96011ee00fe430efb8f30b89b
refs/heads/master: 8ac98a56fac0cafb56d900154ac4569a959011c0
6 changes: 4 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/srom.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,13 +880,15 @@ int srom_var_init(struct si_pub *sih, void *curmap, char **vars, uint *count)

static inline void ltoh16_buf(u16 *buf, unsigned int size)
{
for (size /= 2; size; size--)
size /= 2;
while (size--)
*(buf + size) = le16_to_cpu(*(buf + size));
}

static inline void htol16_buf(u16 *buf, unsigned int size)
{
for (size /= 2; size; size--)
size /= 2;
while (size--)
*(buf + size) = cpu_to_le16(*(buf + size));
}

Expand Down

0 comments on commit da4baff

Please sign in to comment.