diff options
| author | Christophe JAILLET <[email protected]> | 2018-01-07 20:54:00 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2018-01-09 19:14:23 +0000 |
| commit | 68fa24f9121c04ef146b5158f538c8b32f285be5 (patch) | |
| tree | 7824690aeacb65c025417b40388fe03be9b15218 /net/unix/af_unix.c | |
| parent | EDAC, ti: Add support for TI keystone and DRA7xx EDAC (diff) | |
| download | kernel-68fa24f9121c04ef146b5158f538c8b32f285be5.tar.gz kernel-68fa24f9121c04ef146b5158f538c8b32f285be5.zip | |
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 <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
