commit | 8fc8cf4482fa1b983a5e971aa037aaa76179b28c | [log] [tgz] |
---|---|---|
author | Johannes Postma <jgmpostma@gmail.com> | Thu Aug 06 12:21:52 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 07 15:10:58 2015 -0700 |
tree | a69f898fd352741b52f1f1d2cfde0b175c526d8d | |
parent | 3a6779f564bf2f2748a9960a563b5b606d4bedc7 [diff] |
staging: rtl8723au: Fix sparse warning: cast to restricted __le16 usPtr is used as __le16 *, but was defined as u16 *. This was reported by sparse as: drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:1850:29: warning: cast to restricted __le16 This patch fixes the type of usPtr. Signed-off-by: Johannes Postma <jgmpostma@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>