diff options
| author | Arvind Yadav <[email protected]> | 2017-01-16 12:14:52 +0530 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2017-01-16 11:09:22 +0100 |
| commit | f5c61277f67f03df334c4486397ecff54968971b (patch) | |
| tree | e9b494099de12ae0e23eefa0013dcad3fe66eb3e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | eca90a3b3226fcecb4b3bbf4b0b6ff72422674bc (diff) | |
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 <[email protected]>
Cc: "Arvind R." <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Boris: massage commit message and improve error message. ]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions