aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2024-02-04 10:53:18 +0100
committerJohannes Berg <[email protected]>2024-02-04 10:53:18 +0100
commit4c60c8054dd8a36091aab585569c8d12a0085bd9 (patch)
treedcc83d25ddc887a6062de6397e751b50da311334 /tools/perf/scripts/python/task-analyzer.py
parent5f9c1f8f9adaf32e4e39fcf260d4fc20dbfb77c9 (diff)
wifi: iwlwifi: fw: fix compiler warning for NULL string print
When the system is compiled without CONFIG_DMI, the function here statically returns NULL, leading to a compiler warning. Catch that and print "<unknown>" in that case. While at it, fix some indentation in the function. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 09059c6764a8 ("wifi: iwlwifi: prepare for reading PPAG table from UEFI") Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions