summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-02-05 22:12:42 -0800
committerBorislav Petkov <bp@suse.de>2015-02-23 13:13:07 +0100
commitc6b97bcf8e3ee6643a7f90a54d1ef3f9e12ec245 (patch)
treee95d43f3b02159c2f70e2fbbdd564415509173c9 /drivers/rpmsg
parentfc7cc6b7820b54119821a3c6838ff583d796a2ab (diff)
downloadlinux-stable-c6b97bcf8e3ee6643a7f90a54d1ef3f9e12ec245.tar.gz
linux-stable-c6b97bcf8e3ee6643a7f90a54d1ef3f9e12ec245.tar.bz2
linux-stable-c6b97bcf8e3ee6643a7f90a54d1ef3f9e12ec245.zip
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 <khoroshilov@ispras.ru> Link: http://lkml.kernel.org/r/1423203162-26368-1-git-send-email-khoroshilov@ispras.ru Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions