diff options
author | Yazen Ghannam <Yazen.Ghannam@amd.com> | 2017-01-13 15:52:19 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-15 14:53:15 (GMT) |
commit | 8b45f832b33bce58fcad1632a794eee8eac4ce44 (patch) | |
tree | 540a0df58947108548269a208e9307876168f71a /arch/s390 | |
parent | e41c105195ca7577154af8942b4f19301d4cb961 (diff) | |
download | linux-8b45f832b33bce58fcad1632a794eee8eac4ce44.tar.xz |
EDAC, amd64: Save and return err code from probe_one_instance()
[ Upstream commit 2287c63643f0f52d9d5452b9dc4079aec0889fe8 ]
We should save the return code from probe_one_instance() so that it can
be returned from the module init function. Otherwise, we'll be returning
the -ENOMEM from above.
Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1484322741-41884-1-git-send-email-Yazen.Ghannam@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions