diff options
| author | Kangjie Lu <[email protected]> | 2019-03-14 02:21:51 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-19 15:37:43 +0100 |
| commit | 6734330654dac550f12e932996b868c6d0dcb421 (patch) | |
| tree | 114dd5fdf29e9d09dbecc8bac7146e965f25d508 /tools/perf/scripts/python/netdev-times.py | |
| parent | c85be041065c0be8bc48eda4c45e0319caf1d0e5 (diff) | |
tty: mxs-auart: fix a potential NULL pointer dereference
In case ioremap fails, the fix returns -ENOMEM to avoid NULL
pointer dereferences.
Multiple places use port.membase.
Signed-off-by: Kangjie Lu <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions