Re: [PATCH v1] LoongArch/tlb: fix "error: parameter 'ptep' set but not used" due to __tlb_remove_tlb_entry()

From: Huacai Chen
Date: Tue Apr 16 2024 - 23:18:49 EST


Queued for loongarch-fixes, thanks.

Huacai

On Wed, Apr 17, 2024 at 3:25 AM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> On Tue, Apr 16, 2024 at 4:49 PM David Hildenbrand <david@xxxxxxxxxx> wrote:
> >
> > With LLVM=1 and W=1 we get:
>
> Hmm... I didn't need W=1 to trigger it (LLVM 18.1.2).
>
> > Reported-by: Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx>
>
> Thanks, looks good to me -- built-tested:
>
> Reviewed-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
> Tested-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
>
> Cheers,
> Miguel