<yhchuang@xxxxxxxxxxx> wrote: > From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> > > For older versions of gcc, the array = {0}; will cause warnings: > > drivers/net/wireless/realtek/rtw88/rtw8822c.c: In function 'rtw8822c_power_trim': > >> drivers/net/wireless/realtek/rtw88/rtw8822c.c:1039:2: warning: > >> missing braces around initializer [-Wmissing-braces] > s8 bb_gain[2][8] = {0}; > ^ > drivers/net/wireless/realtek/rtw88/rtw8822c.c:1039:2: warning: (near > initialization for 'bb_gain[0]') [-Wmissing-braces] > > Fixes: 5ad4d8957b69 ("rtw88: set power trim according to efuse PG values") > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > Signed-off-by: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> > Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 4e1a341580f2 rtw88: 8822c: fix missing brace warning for old compilers -- https://patchwork.kernel.org/patch/11564651/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches