aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2024-07-09 08:50:56 +0200
committerLinus Torvalds <[email protected]>2024-07-09 07:38:39 -0700
commitb5efb63acf7bddaf20eacfcac654c25c446eabe8 (patch)
tree77d2968a818b1a7953d665a430bd47f7f900aafa /scripts/gdb/linux/modules.py
parent4376e966ecb78c520b0faf239d118ecfab42a119 (diff)
s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
crst_table_free() used to work with NULL pointers before the conversion to ptdescs. Since crst_table_free() can be called with a NULL pointer (error handling in crst_table_upgrade() add an explicit check. Also add the same check to base_crst_free() for consistency reasons. In real life this should not happen, since order two GFP_KERNEL allocations will not fail, unless FAIL_PAGE_ALLOC is enabled and used. Reported-by: Yunseong Kim <[email protected]> Fixes: 6326c26c1514 ("s390: convert various pgalloc functions to use ptdescs") Signed-off-by: Heiko Carstens <[email protected]> Acked-by: Alexander Gordeev <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions