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

Skip to content
Commit f5c61277 authored by Arvind Yadav's avatar Arvind Yadav Committed by Borislav Petkov
Browse files

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: default avatarArvind 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: default avatarBorislav Petkov <bp@suse.de>
parent eca90a3b
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