]> git.baikalelectronics.ru Git - kernel.git/commit
staging:rtl8188eu: Fix sparse warning cast to restricted __le16
authorTobenna P. Igwe <ptigwe@gmail.com>
Wed, 10 Sep 2014 19:45:16 +0000 (20:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:56:51 +0000 (14:56 -0700)
commit7b55379d0fa5e53402eb274aae32e3c36f6f7b15
treef99e9c6b65ff0aee7e0f0702deb62b2caa90ac86
parent6bd9c4d1c25a89c56d142e0df3f4b69282f7b63d
staging:rtl8188eu: Fix sparse warning cast to restricted __le16

This patch fixes the following sparse warnings:

  CHECK   drivers/staging/rtl8188eu/hal/fw.c
drivers/staging/rtl8188eu/hal/fw.c:219:13: warning: cast to restricted __le16
drivers/staging/rtl8188eu/hal/fw.c:219:13: warning: cast to restricted __le16
drivers/staging/rtl8188eu/hal/fw.c:219:13: warning: cast to restricted __le16
drivers/staging/rtl8188eu/hal/fw.c:219:13: warning: cast to restricted __le16

by changing the signature from 'u16' to '__le16'.

Signed-off-by: Tobenna P. Igwe <ptigwe@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/fw.h