aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYan-Hsuan Chuang <[email protected]>2020-05-22 11:55:21 +0800
committerKalle Valo <[email protected]>2020-05-29 20:36:41 +0300
commit4e1a341580f2e51f7d1c992b50c28a6c4a242f7f (patch)
tree57b68668a8de138122f5572385aaf889869d879d /tools/perf/scripts/python/stackcollapse.py
parent7a242fb69821ea428b89e381de63624abea68568 (diff)
rtw88: 8822c: fix missing brace warning for old compilers
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 <[email protected]> Signed-off-by: Yan-Hsuan Chuang <[email protected]> Acked-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions