[PATCH] staging: wlan-ng: Fix incorrect type in assignment
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Fri Jun 23 17:43:59 UTC 2017
On Sat, Jun 17, 2017 at 07:02:46PM +0300, Kamal Heib wrote:
> Fix the following sparse warnings:
>
> prism2mgmt.c:188:25: warning: incorrect type in assignment (different base types)
> prism2mgmt.c:188:25: expected unsigned short [unsigned] [addressable] [usertype] tx_rate
> prism2mgmt.c:188:25: got restricted __le16 [usertype] <noident>
> prism2mgmt.c:200:30: warning: incorrect type in assignment (different base types)
> prism2mgmt.c:200:30: expected unsigned short [unsigned] [addressable] [usertype] channel_list
> prism2mgmt.c:200:30: got restricted __le16 [usertype] <noident>
>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Signed-off-by: Kamal Heib <kamalheib1 at gmail.com>
> ---
> drivers/staging/wlan-ng/hfa384x.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Does not apply to my staging-testing tree as I think someone else
already did this :(
greg k-h
More information about the devel
mailing list