diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-02-12 19:46:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-13 16:20:35 +0100 |
commit | e85f20518bb928667508c22090c85d458e25a4f7 (patch) | |
tree | 97625e60d0901ec459d2ce245fcaaacf1bd84a4f /virt/kvm | |
parent | 5d3c8b21e22712137db6bbd246d1bdcbe0a09914 (diff) |
x86: EFI: fix use of unitialized variable and the cache logic
Andi Kleen pointed out that the cache attribute logic is reverse in
efi_enter_virtual_mode(). This problem alone is harmless as we do not
(yet) do cache attribute conflict resolution. (This bug was not present
in the original EFI submission - I introduced it while fixing up rejects.)
While reviewing this code I noticed a second, worse problem: the use of
uninitialized md->virt_addr.
Fix both problems.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions