commit | 7277dd0a0ba4f8259f7abe37c4b7280fbfc2a182 | [log] [tgz] |
---|---|---|
author | Haoxiang Li <[email protected]> | Tue Feb 18 00:00:17 2025 +0800 |
committer | Andrew Morton <[email protected]> | Wed Mar 05 21:36:12 2025 -0800 |
tree | edfdc40327100ded546e4eac5c92b1763360340e | |
parent | 349db086a66051bc6114b64b4446787c20ac3f00 [diff] |
m68k: sun3: add check for __pgd_alloc() Add check for the return value of __pgd_alloc() in pgd_alloc() to prevent null pointer dereference. Link: https://lkml.kernel.org/r/[email protected] Fixes: a9b3c355c2e6 ("asm-generic: pgalloc: provide generic __pgd_{alloc,free}") Signed-off-by: Haoxiang Li <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Kevin Brodsky <[email protected]> Cc: Qi Zheng <[email protected]> Cc: Sam Creasey <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>