aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2019-10-18 20:19:23 -0700
committerLinus Torvalds <[email protected]>2019-10-19 06:32:31 -0400
commit96c804a6ae8c59a9092b3d5dd581198472063184 (patch)
treeda8ffdc9d8bddfd6be9e7d378c360a09c2f2001b /lib/test_overflow.c
parentaad5f69bc161af489dbb5934868bd347282f0764 (diff)
mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()
We should check for pfn_to_online_page() to not access uninitialized memmaps. Reshuffle the code so we don't have to duplicate the error message. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Fixes: f1dd2cd13c4b ("mm, memory_hotplug: do not associate hotadded memory to zones until online") [visible after d0dc12e86b319] Acked-by: Naoya Horiguchi <[email protected]> Cc: Michal Hocko <[email protected]> Cc: <[email protected]> [4.13+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions