Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

EDAC, altera: Fix error handling path in altr_edac_device_probe()



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

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: default avatarThor Thayer <thor.thayer@linux.intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170816050506.14541-1-christophe.jaillet@wanadoo.fr


[ Massage commit message. ]
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 3e5d2bd1
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