diff options
author | David Hildenbrand <david@redhat.com> | 2019-10-18 20:19:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-19 06:32:31 -0400 |
commit | 96c804a6ae8c59a9092b3d5dd581198472063184 (patch) | |
tree | da8ffdc9d8bddfd6be9e7d378c360a09c2f2001b /crypto/blowfish_common.c | |
parent | aad5f69bc161af489dbb5934868bd347282f0764 (diff) | |
download | linux-96c804a6ae8c59a9092b3d5dd581198472063184.tar.bz2 |
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/20191009142435.3975-3-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Fixes: f1dd2cd13c4b ("mm, memory_hotplug: do not associate hotadded memory to zones until online") [visible after d0dc12e86b319]
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: <stable@vger.kernel.org> [4.13+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions