Linux-Next discussions
 help / color / mirror / Atom feed
* build failure of next-20220818 due to 341dd1f7de4c ("wifi: rtw88: add the update channel flow to support setting by parameters")
@ 2022-08-18 11:40 Sudip Mukherjee (Codethink)
  2022-08-18 11:56 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee (Codethink) @ 2022-08-18 11:40 UTC (permalink / raw)
  To: Chih-Kang Chang, Ping-Ke Shih, Kalle Valo
  Cc: Yan-Hsuan Chuang, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, linux-wireless, netdev, linux-kernel, linux-next,
	clang-built-linux, Nathan Chancellor

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-18 12:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-18 11:40 build failure of next-20220818 due to 341dd1f7de4c ("wifi: rtw88: add the update channel flow to support setting by parameters") Sudip Mukherjee (Codethink)
2022-08-18 11:56 ` Arnd Bergmann
2022-08-18 11:56   ` Arnd Bergmann
2022-08-18 12:58   ` Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox