diff options
| author | Björn Töpel <[email protected]> | 2025-04-19 11:13:59 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-04-24 20:20:01 +0000 |
| commit | 121f34341d396b666d8a90b24768b40e08ca0d61 (patch) | |
| tree | 5860bb51c40094f819017d4afa79f45c707cbd4c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 6.15-rc3 (diff) | |
| download | kernel-121f34341d396b666d8a90b24768b40e08ca0d61.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
