<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