summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-15 02:07:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 12:24:04 +0200
commit1081d04a0443c67af9eaed624deb73388896439e (patch)
tree73f554940f67cedd0714a69236ae33e92c154dbc /tools/perf/scripts/python/export-to-postgresql.py
parentc05b2ed7bc1b03887b34d2f4d6d5cdfef206d9be (diff)
tty: ipwireless: fix missing checks for ioremap
[ Upstream commit 1bbb1c318cd8a3a39e8c3e2e83d5e90542d6c3e3 ] ipw->attr_memory and ipw->common_memory are assigned with the return value of ioremap. ioremap may fail, but no checks are enforced. The fix inserts the checks to avoid potential NULL pointer dereferences. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions