summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-01-16 12:14:52 +0530
committerBorislav Petkov <bp@suse.de>2017-01-16 11:09:22 +0100
commitf5c61277f67f03df334c4486397ecff54968971b (patch)
treee9b494099de12ae0e23eefa0013dcad3fe66eb3e /drivers/edac/amd64_edac.c
parenteca90a3b3226fcecb4b3bbf4b0b6ff72422674bc (diff)
downloadlinux-f5c61277f67f03df334c4486397ecff54968971b.tar.gz
linux-f5c61277f67f03df334c4486397ecff54968971b.tar.bz2
linux-f5c61277f67f03df334c4486397ecff54968971b.zip
EDAC, i82975x: Add ioremap_nocache() error handling
If ioremap_nocache() fails, it will return NULL. Which will then cause a NULL-pointer dereference. Handle the returned value properly. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Cc: "Arvind R." <arvino55@gmail.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/1484549092-11349-1-git-send-email-arvind.yadav.cs@gmail.com [ Boris: massage commit message and improve error message. ] Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.c')
0 files changed, 0 insertions, 0 deletions