summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2016-08-15 09:05:45 -0600
committerMatt Fleming <matt@codeblueprint.co.uk>2016-09-05 11:16:56 +0100
commitd4c4fed08f31f3746000c46cb1b20bed2959547a (patch)
tree51f46dc044388ff3f00a15c5054b6848c56ec816 /arch/x86/boot
parentc6935931c1894ff857616ff8549b61236a19148f (diff)
downloadop-kernel-dev-d4c4fed08f31f3746000c46cb1b20bed2959547a.zip
op-kernel-dev-d4c4fed08f31f3746000c46cb1b20bed2959547a.tar.gz
efi: Make for_each_efi_memory_desc_in_map() cope with running on Xen
While commit 55f1ea15216 ("efi: Fix for_each_efi_memory_desc_in_map() for empty memmaps") made an attempt to deal with empty memory maps, it didn't address the case where the map field never gets set, as is apparently the case when running under Xen. Reported-by: <lists@ssl-mail.com> Tested-by: <lists@ssl-mail.com> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Cc: Jiri Slaby <jslaby@suse.cz> Cc: Mark Rutland <mark.rutland@arm.com> Cc: <stable@vger.kernel.org> # v4.7+ Signed-off-by: Jan Beulich <jbeulich@suse.com> [ Guard the loop with a NULL check instead of pointer underflow ] Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud