From c6b97bcf8e3ee6643a7f90a54d1ef3f9e12ec245 Mon Sep 17 00:00:00 2001 From: Alexey Khoroshilov Date: Thu, 5 Feb 2015 22:12:42 -0800 Subject: [PATCH] EDAC: Properly unwind on failure path in edac_init() edac_init() does not deallocate already allocated resources on failure path. Found by Linux Driver Verification project (linuxtesting.org). [ Boris: The unwind path functions have __exit annotation but are being used in an __init function, leading to section mismatches. Drop the section annotation and make them normal functions. ] Signed-off-by: Alexey Khoroshilov Link: http://lkml.kernel.org/r/1423203162-26368-1-git-send-email-khoroshilov@ispras.ru Signed-off-by: Borislav Petkov --- Reading git-format-patch failed