[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yv4lFKIoek8Fhv44@debian>
Date: Thu, 18 Aug 2022 12:40:04 +0100
From: "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@...il.com>
To: Chih-Kang Chang <gary.chang@...ltek.com>,
Ping-Ke Shih <pkshih@...ltek.com>,
Kalle Valo <kvalo@...nel.org>
Cc: Yan-Hsuan Chuang <tony0620emma@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org,
clang-built-linux <llvm@...ts.linux.dev>,
Nathan Chancellor <nathan@...nel.org>
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
Powered by blists - more mailing lists