]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: Fix type mismatch warnings reported by sparse
authorSuniel Mahesh <suniel.spartan@gmail.com>
Fri, 12 May 2017 15:46:35 +0000 (21:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 10:51:20 +0000 (12:51 +0200)
commit617f74a26f55874dbb8b5033dec5be55d119ffd7
tree559a4f4a8ce21e01db8b5a91e7b7742612d0e33d
parent3663c3c7e3c35c43ee957bf3f9462c15c0726f2f
staging: rtl8192u: Fix type mismatch warnings reported by sparse

Mk16_le() is an inline function returning le16_to_cpu()
which is causing type mismatch warnings. Removed Mk16_le() and
replaced it with le16_to_cpu() with appropriate argument type as
suggested by Greg K-H.

Signed-off-by: Suniel Mahesh <suniel.spartan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c