aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorVictor Erminpour <[email protected]>2022-02-09 16:30:27 -0800
committerAlexandre Belloni <[email protected]>2022-02-15 23:19:56 +0100
commit85bcb01f145dc32e7f88e6eebb3b5f96d3b56eb6 (patch)
tree7e25afe7a95ee868882238534a742fe401e299ca /tools/perf/scripts/python/bin/export-to-postgresql-report
parent2ca03e29e64bf41e8defb8a8c6b9d1b842875e87 (diff)
rtc: pcf8523: Fix GCC 12 warning
When building with automatic stack variable initialization, GCC 12 complains about variables defined outside of switch case statements. Move variables outside the switch, which silences warnings: ./drivers/rtc/rtc-pcf8523.c:284:20: error: statement will never be executed [-Werror=switch-unreachable] 284 | u8 mode; | ./drivers/rtc/rtc-pcf8523.c:245:21: error: statement will never be executed [-Werror=switch-unreachable] 245 | u32 value; | ^~~~~ Signed-off-by: Victor Erminpour <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions