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

From: Miguel Ojeda
Date: Tue Apr 16 2024 - 15:25:12 EST


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