aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-11-15 07:50:06 -0500
committerRob Herring <robh@kernel.org>2017-11-16 12:01:14 -0500
commitc545f637f81ebab88c257a243083a879af0b85b7 (patch)
tree46e46454d7729e1326fb16130f468c96f58ac24b /tools/perf/scripts/python/exported-sql-viewer.py
parentaa25e446ce76c37bfd75ac06598c316af94e9a26 (diff)
of/pci: Fix theoretical NULL dereference
In the (relatively mechanical) process of adapting the RID-mapping code to put the resulting ID in an output argument rather than the funtion return value, we ended up with the debug print using the argument pointer rather than the local value, which potentially defeats the earlier NULL check. Fixes: 987068fcbdb7: "of/irq: Break out msi-map lookup (again)" Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions