kernel_optimize_test/arch/x86/mm
Xiaotian Feng de2a47cf2b 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>
2009-11-08 12:48:58 +01:00
..
kmemcheck
dump_pagetables.c
extable.c
fault.c
gup.c
highmem_32.c
hugetlbpage.c
init_32.c
init_64.c
init.c
iomap_32.c
ioremap.c
k8topology_64.c
kmmio.c
Makefile
memtest.c
mmap.c
mmio-mod.c
numa_32.c
numa_64.c
numa.c
pageattr-test.c
pageattr.c
pat.c
pf_in.c
pf_in.h
pgtable_32.c
pgtable.c
physaddr.c
physaddr.h
setup_nx.c
srat_32.c
srat_64.c
testmmiotrace.c
tlb.c