From: Xiaotian Feng Date: Thu, 5 Nov 2009 02:43:51 +0000 (+0800) Subject: x86: Fix error return sequence in __ioremap_caller() X-Git-Tag: v2.6.32-rc7~48^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2a47cf2b3f59ef9664b277f4021b91af13598e;p=pandora-kernel.git 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 Acked-by: Suresh Siddha Cc: Venkatesh Pallipadi Cc: H. Peter Anvin LKML-Reference: <1257389031-20429-1-git-send-email-dfeng@redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed