diff options
| author | Anshuman Khandual <anshuman.khandual@arm.com> | 2026-08-31 11:13:25 +0530 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-06 17:39:21 -0700 |
| commit | ea8763ac3af75fcf8cb97afff83ecf52757af1dd (patch) | |
| tree | b5e3f6a8bad575ae57bc451010d1169dffa388ba /include | |
| parent | 0666fc9d44322489dbe03361122164f7701efce3 (diff) | |
loongarch/mm: stop using pte_ERROR()
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.
Link: https://lore.kernel.org/20260831054331.625505-4-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Helge Deller <deller@gmx.de>
Cc: James Bottomley <james.bottomley@HansenPartnership.com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Samuel Holland <samuel.holland@sifive.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
