]> git.karo-electronics.de Git - karo-tx-linux.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)
commit55031da457bab855d455b431177f79c7c15b67b0
tree559a4f4a8ce21e01db8b5a91e7b7742612d0e33d
parent7d4c9787b7c205804781ea9a2ecd47bbd5981473
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