On Fri, 08 Mar 2024 13:39:21 +0000, Colin Ian King wrote: > 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] > > > [...] Applied, thanks! [1/1] block: partitions: only define function mac_fix_string for CONFIG_PPC_PMAC commit: 5205a4aa8fc9454853b705b69611c80e9c644283 Best regards, -- Jens Axboe