summaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugins/plugin_function.c
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@rivosinc.com>2025-04-19 13:13:59 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2025-04-24 13:20:01 -0700
commit121f34341d396b666d8a90b24768b40e08ca0d61 (patch)
tree5860bb51c40094f819017d4afa79f45c707cbd4c /tools/lib/traceevent/plugins/plugin_function.c
parent9c32cda43eb78f78c73aee4aa344b777714e259b (diff)
downloadlinux-121f34341d396b666d8a90b24768b40e08ca0d61.tar.gz
linux-121f34341d396b666d8a90b24768b40e08ca0d61.tar.bz2
linux-121f34341d396b666d8a90b24768b40e08ca0d61.zip
riscv: Replace function-like macro by static inline function
The flush_icache_range() function is implemented as a "function-like macro with unused parameters", which can result in "unused variables" warnings. Replace the macro with a static inline function, as advised by Documentation/process/coding-style.rst. Fixes: 08f051eda33b ("RISC-V: Flush I$ when making a dirty page executable") Signed-off-by: Björn Töpel <bjorn@rivosinc.com> Link: https://lore.kernel.org/r/20250419111402.1660267-1-bjorn@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions