summaryrefslogtreecommitdiff
path: root/drivers/s390/block/dasd_int.h
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-03-08 16:39:21 +0300
committerJens Axboe <axboe@kernel.dk>2024-03-09 17:31:42 +0300
commit5205a4aa8fc9454853b705b69611c80e9c644283 (patch)
treed1a06d1ed6649d1b0396c3b759f86ae8fbbd9aec /drivers/s390/block/dasd_int.h
parentd8d6608b76b98b7b88795a529d3d910ac9ef05f4 (diff)
downloadlinux-5205a4aa8fc9454853b705b69611c80e9c644283.tar.xz
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 <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20240308133921.2058227-1-colin.i.king@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
0 files changed, 0 insertions, 0 deletions