diff options
author | Ralph Campbell <[email protected]> | 2019-08-02 21:49:08 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-08-03 07:02:01 -0700 |
commit | 7b358c6f12dc82364f6d317f8c8f1d794adbc3f5 (patch) | |
tree | 5cb79e5f2eec3952ece6881f28fe09194da02433 /lib/mpi/mpi-internal.h | |
parent | 315c69261dd3fa12dbc830d4fa00d1fad98d3b03 (diff) |
mm/migrate.c: initialize pud_entry in migrate_vma()
When CONFIG_MIGRATE_VMA_HELPER is enabled, migrate_vma() calls
migrate_vma_collect() which initializes a struct mm_walk but didn't
initialize mm_walk.pud_entry. (Found by code inspection) Use a C
structure initialization to make sure it is set to NULL.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 8763cb45ab967 ("mm/migrate: new memory migration helper for use with device memory")
Signed-off-by: Ralph Campbell <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: "Jérôme Glisse" <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions