Boaz Harrosh 445df54fec 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 <bharrosh@panasas.com>
CC: Ingo Molnar <mingo@elte.hu>
CC: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-09-02 17:40:02 -04:00
..
2008-08-18 21:40:04 +02:00
2008-08-19 18:47:56 +02:00
2008-08-15 11:50:15 -07:00
2008-08-13 17:32:56 -07:00
2008-08-20 15:40:30 -07:00
2008-08-16 16:35:33 +01:00
2008-08-13 17:33:00 -07:00