]> asedeno.scripts.mit.edu Git - linux.git/commit
staging:rtl8723au: Fix sparse warning cast to restricted __le16
authorTobenna P. Igwe <ptigwe@gmail.com>
Tue, 18 Nov 2014 01:45:41 +0000 (01:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 20:43:45 +0000 (12:43 -0800)
commit8488d6eca9d3bfd10420d37fccf45b98cdd867ac
tree4b917bc604ba0a2cd2c2c2e4827669946a967e11
parent0431f080c52348c0ba1e0d9f55d12df06dc980a8
staging:rtl8723au: Fix sparse warning cast to restricted __le16

This patch fixes the following sparse warning:

drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c:343:36: warning:
cast to restricted __le16

by using the le16_to_cpus function.

Signed-off-by: Tobenna P. Igwe <ptigwe@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c