Skip to content
Commit 68fa24f9 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Borislav Petkov
Browse files

EDAC, mv64x60: Fix an error handling path



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: default avatarChristophe 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: default avatarBorislav Petkov <bp@suse.de>
parent 86a18ee2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment