Staging: rtl8192u: Annotate association types with proper endianness
authorVaishali Thakkar <vthakkar1994@gmail.com>
Mon, 27 Oct 2014 12:26:33 +0000 (17:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 07:53:26 +0000 (15:53 +0800)
commitbaf9ef82fc96ef37cb1d85aaf225663ff0c15fa6
treed111da2e027cfccdc7c4c65159d4487d3d3c7e78
parent2f12163369562146699bb156d26975991d465edd
Staging: rtl8192u: Annotate association types with proper endianness

This patch fixes following sparse warning at number of places in
file rtl819x_BAProc.c.

Warning: incorrect type in assignment (different base types)
         expected unsigned short [unsigned] [usertype] tmp
         got restricted __le16 [usertype] <noident>

Here, code before this change is correct. But this change silents
sparse warnings and will not harm code too.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
This page took 0.030842 seconds and 5 git commands to generate.