diff options
author | Kangjie Lu <[email protected]> | 2019-04-01 17:46:58 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2019-04-01 17:46:58 +0200 |
commit | 1d84353d205a953e2381044953b7fa31c8c9702d (patch) | |
tree | c92edc27cb175cd693efc7a062dae8f903bfd9bc /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | ec7f6aad57ad29e4e66cc2e18e1e1599ddb02542 (diff) |
video: imsttfb: fix potential NULL pointer dereferences
In case ioremap fails, the fix releases resources and returns
-ENOMEM to avoid NULL pointer dereferences.
Signed-off-by: Kangjie Lu <[email protected]>
Cc: Aditya Pakki <[email protected]>
Cc: Finn Thain <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
[b.zolnierkie: minor patch summary fixup]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions