Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220451
b: refs/heads/master
c: 5af6347
h: refs/heads/master
i:
  220449: 136d8d6
  220447: 0006193
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 28, 2010
1 parent 0805b81 commit 2ff65d6
Show file tree
Hide file tree
Showing 3 changed files with 4 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: eebfc6055aba312f8b620a58fe1c23471cdcd149
refs/heads/master: 5af634789c93b97cfb314a102436716be8fbc577
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/sys/wlc_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct wlc_eventq {
bool workpending;
struct wl_timer *timer;
wlc_eventq_cb_t cb;
u8 event_inds_mask[roundup(WLC_E_LAST, NBBY) / NBBY];
u8 event_inds_mask[broken_roundup(WLC_E_LAST, NBBY) / NBBY];
};

/*
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/staging/brcm80211/sys/wlc_key.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ typedef struct wsec_key {

} wsec_key_t;

#define broken_roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
typedef struct {
u8 vec[roundup(WSEC_MAX_KEYS, NBBY) / NBBY]; /* bitvec of wsec_key indexes */
u8 vec[broken_roundup(WSEC_MAX_KEYS, NBBY) / NBBY]; /* bitvec of wsec_key indexes */
} wsec_key_vec_t;

/* For use with wsec_key_t.flags */
Expand Down

0 comments on commit 2ff65d6

Please sign in to comment.