diff options
| author | Colin Ian King <[email protected]> | 2024-03-08 13:39:21 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-03-09 14:31:42 +0000 |
| commit | 5205a4aa8fc9454853b705b69611c80e9c644283 (patch) | |
| tree | d1a06d1ed6649d1b0396c3b759f86ae8fbbd9aec /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | block/swim: Convert to platform remove callback returning void (diff) | |
| download | kernel-5205a4aa8fc9454853b705b69611c80e9c644283.tar.gz kernel-5205a4aa8fc9454853b705b69611c80e9c644283.zip | |
block: partitions: only define function mac_fix_string for CONFIG_PPC_PMAC
The helper function mac_fix_string is only required with CONFIG_PPC_PMAC,
add #if CONFIG_PPC_PMAC and #endif around the function.
Cleans up clang scan build warning:
block/partitions/mac.c:23:20: warning: unused function 'mac_fix_string' [-Wunused-function]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
