diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-01-07 23:54:00 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-01-09 22:14:23 +0300 |
commit | 68fa24f9121c04ef146b5158f538c8b32f285be5 (patch) | |
tree | 7824690aeacb65c025417b40388fe03be9b15218 /block/blk-mq-sysfs.c | |
parent | 86a18ee21e5eecf56ca02aec24807ffa87bb57b6 (diff) | |
download | linux-68fa24f9121c04ef146b5158f538c8b32f285be5.tar.xz |
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: 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>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions