diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-01-07 21:54:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-12 12:32:19 +0200 |
commit | 28b35f9aa0c068075ca57ab646d87e2f607a9d5c (patch) | |
tree | a0dc6a0b477bab2b94b117a0afff7a9a60a716df /drivers/uio | |
parent | effbffc91da3c9520e9b2f15fbc099f257d7cf03 (diff) | |
download | linux-stable-28b35f9aa0c068075ca57ab646d87e2f607a9d5c.tar.gz linux-stable-28b35f9aa0c068075ca57ab646d87e2f607a9d5c.tar.bz2 linux-stable-28b35f9aa0c068075ca57ab646d87e2f607a9d5c.zip |
EDAC, mv64x60: Fix an error handling path
[ Upstream commit 68fa24f9121c04ef146b5158f538c8b32f285be5 ]
We should not call edac_mc_del_mc() if a corresponding call to
edac_mc_add_mc() has not been performed yet.
So here, we should go to err instead of err2 to branch at the right
place of the error handling path.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180107205400.14068-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions