Skip to content
Commit 8fc8cf44 authored by Johannes Postma's avatar Johannes Postma Committed by Greg Kroah-Hartman
Browse files

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: default avatarJohannes Postma <jgmpostma@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a6779f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment