# Re: \[RFC V3 3/8\] loongarch/mm: Stop using pte\_ERROR()

- From: David Hildenbrand (Arm) \<david@kernel.org\>
- Date: 2026-08-18 17:26:04 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/08/17430248
- Thread: https://ratatoskr.run/linux-mm/2026/08/17426829/t.md

```text
On 8/18/26 06:00, Anshuman Khandual wrote:
> Directly use pr_err() in __set_fixmap() and drop pte_ERROR() which helps in
> eventually dropping pte_ERROR() macro across the tree. In this new printing
> __FILE__ and __LINE__ has been dropped because they are always the same and
> don't really add any value. The new ptval_to_str() helper is being used for
> converting pgtable entry value into a string. The error message itself has
> been cleaned up as well.
> 
> Cc: Huacai Chen <chenhuacai@kernel.org>
> Cc: WANG Xuerui <kernel@xen0n.name>
> Cc: <redacted>
> Cc: <redacted>
> Signed-off-by: Anshuman Khandual <redacted>
> ---

Acked-by: David Hildenbrand (Arm) <david@kernel.org>

-- 
Cheers,

David

```
