Search Linux Wireless

Re: [PATCH 1/4] wifi: ath6kl: fix sparse warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kalle Valo <kvalo@xxxxxxxxxx> wrote:

> Sparse warns:
> 
> drivers/net/wireless/ath/ath6kl/htc_pipe.c:241:17: warning: incorrect type in assignment (different base types)
> drivers/net/wireless/ath/ath6kl/htc_pipe.c:241:17:    expected restricted __le16 x
> drivers/net/wireless/ath/ath6kl/htc_pipe.c:241:17:    got unsigned short [usertype]
> drivers/net/wireless/ath/ath6kl/htc_mbox.c:368:9: warning: incorrect type in assignment (different base types)
> drivers/net/wireless/ath/ath6kl/htc_mbox.c:368:9:    expected restricted __le16 x
> drivers/net/wireless/ath/ath6kl/htc_mbox.c:368:9:    got unsigned short [usertype]
> 
> Use put_unaligned_le16() so that the value is converted to little endian before
> storing it to the header.
> 
> Compile tested only.
> 
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

4 patches applied to ath-next branch of ath.git, thanks.

ed769314f55c wifi: ath6kl: fix sparse warnings
fba52950e59d wifi: wcn36xx: buff_to_be(): fix sparse warnings
1eb2ac4a9f3f wifi: wcn36xx: main: fix sparse warnings
1f4672fd1648 wifi: wil6210: fix sparse warnings

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240320182449.3757215-2-kvalo@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux