aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-05-03 08:31:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 22:39:18 +0200
commit412314720aec9226e7e423395d27ca17d5dd3b24 (patch)
tree0143cd4c62f32a15bce9b7e968ef4b9b1a091950 /tools/perf/scripts/python/flamegraph.py
parentserial: pic32: remove pic32_get_port() macro (diff)
downloadlinux-412314720aec9226e7e423395d27ca17d5dd3b24.tar.gz
linux-412314720aec9226e7e423395d27ca17d5dd3b24.zip
serial: pic32: convert to_pic32_sport() to an inline
'c' is not in wrapped in parentheses in the to_pic32_sport() macro, so it might be problematic wrt macro expansion. Using an inline is always safer in these cases. Both type-wise and macro-expansion-wise. So switch the macro to an inline. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220503063122.20957-8-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions