]> git.baikalelectronics.ru Git - kernel.git/commit
b43: Fix sparse warning in hw-tkip code
authorMichael Buesch <mb@bu3sch.de>
Sun, 6 Sep 2009 14:18:58 +0000 (16:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Sep 2009 15:18:54 +0000 (11:18 -0400)
commit57c8e31c30a5f5b0441db03d875a73dbfbcaa694
treec5a58a99108f2706ac313aee64a386e589e9231c
parent2007c260626ddb939707b87c51bd2f709075a8e1
b43: Fix sparse warning in hw-tkip code

This fixes a sparse warning in the hardware-TKIP code:

drivers/net/wireless/b43/xmit.c:272:18: warning: incorrect type in assignment (different base types)
drivers/net/wireless/b43/xmit.c:272:18:    expected unsigned short [unsigned] [short] <noident>
drivers/net/wireless/b43/xmit.c:272:18:    got restricted unsigned short [usertype] <noident>

The code should work correctly with and without this patch applied.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/xmit.c