Messages in this thread | | | Date | Thu, 18 Aug 2022 12:40:04 +0100 | From | "Sudip Mukherjee (Codethink)" <> | Subject | build failure of next-20220818 due to 341dd1f7de4c ("wifi: rtw88: add the update channel flow to support setting by parameters") |
| |
Hi All,
Not sure if it has been reported, clang builds of arm64 allmodconfig have failed to build next-20220818 with the error:
drivers/net/wireless/realtek/rtw88/main.c:731:2: error: variable 'primary_channel_idx' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized] default: ^~~~~~~ drivers/net/wireless/realtek/rtw88/main.c:754:39: note: uninitialized use occurs here hal->current_primary_channel_index = primary_channel_idx; ^~~~~~~~~~~~~~~~~~~
git bisect pointed to 341dd1f7de4c ("wifi: rtw88: add the update channel flow to support setting by parameters"). And, reverting that commit has fixed the build failure.
I will be happy to test any patch or provide any extra log if needed.
-- Regards Sudip
| |