Re: build failure of next-20221005 due to 4078ec1ef5ed ("LoongArch: Use TLB for ioremap()")

From: Sudip Mukherjee
Date: Wed Oct 05 2022 - 08:55:10 EST


On Wed, Oct 5, 2022 at 1:30 PM Huacai Chen <chenhuacai@xxxxxxxxxx> wrote:
>
> Hi, Sudip,
>
> This seems a false positive. When the implementation of iounmap() is
> empty (but this is completely legal I think), these drivers will cause
> "unused variable error".

And that error will fail the build as allmodconfig will have CONFIG_WERROR=y.

--
Regards
Sudip