diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-14 10:21:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-19 17:37:43 +0300 |
commit | 6734330654dac550f12e932996b868c6d0dcb421 (patch) | |
tree | 114dd5fdf29e9d09dbecc8bac7146e965f25d508 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c85be041065c0be8bc48eda4c45e0319caf1d0e5 (diff) | |
download | linux-6734330654dac550f12e932996b868c6d0dcb421.tar.xz |
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 <kjlu@umn.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions