diff options
author | Boaz Harrosh <[email protected]> | 2008-09-01 14:47:19 +0300 |
---|---|---|
committer | John W. Linville <[email protected]> | 2008-09-02 17:40:02 -0400 |
commit | 445df54fec7c1924f44018c4db2a9613b877f10e (patch) | |
tree | e49c5f9d77659c907613492791ce44e04bd78b7c /net/lapb/lapb_subr.c | |
parent | 2b58b209399844995ad48e421267e359e16c03db (diff) |
rt2x00: Compiler warning unmasked by fix of BUILD_BUG_ON
A "Set" to a sign-bit in an "&" operation causes a compiler warning.
Make calculations unsigned.
[ The warning was masked by the old definition of BUILD_BUG_ON() ]
Also remove __builtin_constant_p from FIELD_CHECK since BUILD_BUG_ON
no longer permits non-const values.
Signed-off-by: Boaz Harrosh <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Rusty Russell <[email protected]>
Acked-by: Ivo van Doorn <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions