Search Linux Wireless

Re: [PATCH] wifi: wilc1000: fix sparse incorrect type in assignment warning

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

 



<Ajay.Kathat@xxxxxxxxxxxxx> wrote:

> From: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx>
> 
> Remove unnecessary byte order conversion for 'key_mgmt_suite' since
> wpa_supplicant allows any byte order for AKM suite value. The change
> also helps avoid the below warning:
> 
> drivers/net/wireless/microchip/wilc1000/cfg80211.c:361:42: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int key_mgmt_suite @@     got restricted __be32 [usertype] @@
> drivers/net/wireless/microchip/wilc1000/cfg80211.c:361:42: sparse:     expected unsigned int key_mgmt_suite
> drivers/net/wireless/microchip/wilc1000/cfg80211.c:361:42: sparse:     got restricted __be32 [usertype]
> 
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308290615.lUTIgqUl-lkp@xxxxxxxxx/
> Signed-off-by: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx>

New version available:

https://patchwork.kernel.org/project/linux-wireless/patch/20240215-nl80211_fix_akm_suites_endianness-v1-2-57e902632f9d@xxxxxxxxxxx/

Patch set to Superseded.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230830042300.87184-1-ajay.kathat@xxxxxxxxxxxxx/

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