[RFC V3 3/8] loongarch/mm: Stop using pte_ERROR()

David Hildenbrand (Arm) david at kernel.org
Tue Aug 18 10:25:53 PDT 2026


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 at kernel.org>
> Cc: WANG Xuerui <kernel at xen0n.name>
> Cc: loongarch at lists.linux.dev
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual at arm.com>
> ---

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

-- 
Cheers,

David



More information about the linux-um mailing list