[PATCH 6/8] sh/mm: Stop using [p4d|pud|pmd]_ERROR()

Andrew Morton akpm at linux-foundation.org
Mon Aug 31 18:53:15 PDT 2026


On Mon, 31 Aug 2026 11:13:28 +0530 Anshuman Khandual <anshuman.khandual at arm.com> wrote:

> Stop using [p4d|pud|pmd]_ERROR() in __get_pte_phys() as the pgtable entries
> are known to be NULL and hence could not really be accessed.

A note to the sh maintainers: Sashiko might have found a couple of bugs
in __get_pte_phys():

	https://sashiko.dev/#/patchset/20260831054331.625505-1-anshuman.khandual@arm.com



More information about the linux-arm-kernel mailing list