]> asedeno.scripts.mit.edu Git - linux.git/commit
EDAC, thunderx: Fix error handling path in thunderx_lmc_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 16 Aug 2017 04:58:21 +0000 (06:58 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 18 Aug 2017 17:12:08 +0000 (19:12 +0200)
commit3eaef0fa39f7badb0bf25bb28ab96cf06b29d45c
treea8c156d4e0debe3932d050cfcd01285202cc2df4
parent8b073d945cd31165591bdebc54dc1fded88b4ef3
EDAC, thunderx: Fix error handling path in thunderx_lmc_probe()

Return the proper error value if ioremap() fails (and not 0).

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: David Daney <david.daney@cavium.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linux-mips@linux-mips.org
Link: http://lkml.kernel.org/r/20170816045821.14165-1-christophe.jaillet@wanadoo.fr
[ Massage commit message, remove newline. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/thunderx_edac.c