summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorYazen Ghannam <Yazen.Ghannam@amd.com>2017-01-13 09:52:19 -0600
committerBorislav Petkov <bp@suse.de>2017-01-16 11:53:39 +0100
commit2287c63643f0f52d9d5452b9dc4079aec0889fe8 (patch)
tree98e63057e5552598a7e189b4da45388436416bab /drivers/edac/amd64_edac.h
parentf5c61277f67f03df334c4486397ecff54968971b (diff)
downloadlinux-2287c63643f0f52d9d5452b9dc4079aec0889fe8.tar.bz2
EDAC, amd64: Save and return err code from probe_one_instance()
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>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
0 files changed, 0 insertions, 0 deletions