[PATCH] iommu/mediatek-v1: Tidy up probe_finalize

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Sat Jun 28 01:36:09 PDT 2025


On 27/06/2025 17:07, Robin Murphy wrote:
> Krzysztof points out that although the driver now supports COMPILE_TEST
> for other architectures, it does not build cleanly with W=1 where the
> stubbed-out ARM API can lead to an unused variable warning.
> 
> Since this is effectively the correct intent of the code in such cases,
> mark it as __maybe_unused, tidying up some cruft in the process.
> 
> Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> ---
> 
> Since I'd already got as far as thinking this through, I figure I may
> as well save Krzysztof the trouble of rewriting it :)

Sure, thanks!

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list