summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/microcode_amd.c
diff options
context:
space:
mode:
authorXiaotian Feng <dfeng@redhat.com>2009-11-05 10:43:51 +0800
committerIngo Molnar <mingo@elte.hu>2009-11-08 12:48:58 +0100
commitde2a47cf2b3f59ef9664b277f4021b91af13598e (patch)
treea1bb79104018eb6f68047f405912876328fb5e70 /arch/x86/kernel/microcode_amd.c
parentf1b291d4c47440cbfc1a478e88800e2742d60a80 (diff)
downloadtalos-op-linux-de2a47cf2b3f59ef9664b277f4021b91af13598e.tar.gz
talos-op-linux-de2a47cf2b3f59ef9664b277f4021b91af13598e.zip
x86: Fix error return sequence in __ioremap_caller()
kernel missed to free memtype if get_vm_area_caller failed in __ioremap_caller. This patch introduces error path to fix this and cleans up the repetitive error return sequences that contributed to the creation of the bug. Signed-off-by: Xiaotian Feng <dfeng@redhat.com> Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> LKML-Reference: <1257389031-20429-1-git-send-email-dfeng@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/microcode_amd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud