diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-08-16 07:05:06 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-08-18 18:21:27 +0200 |
commit | 8b073d945cd31165591bdebc54dc1fded88b4ef3 (patch) | |
tree | f3d6153204c6858c1631771ce9981dd519b34ca7 /drivers/nvdimm/nd-core.h | |
parent | 3e5d2bd19138d6683f69de26a34d7eb9ab3823ed (diff) | |
download | linux-stable-8b073d945cd31165591bdebc54dc1fded88b4ef3.tar.gz linux-stable-8b073d945cd31165591bdebc54dc1fded88b4ef3.tar.bz2 linux-stable-8b073d945cd31165591bdebc54dc1fded88b4ef3.zip |
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Thor 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: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/nvdimm/nd-core.h')
0 files changed, 0 insertions, 0 deletions