summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2018-07-12 12:28:24 +0300
committerWei Xu <xuwei5@hisilicon.com>2018-07-16 19:36:50 +0300
commitd396cb185c0337aae5664b250cdd9a73f6eb1503 (patch)
treec4ba53db1f20d673c52734a6fa7fa99b3a1c0f11 /tools/perf/scripts/python/export-to-sqlite.py
parent81646a3d39ef14749301374a3a0b8311384cd412 (diff)
downloadlinux-d396cb185c0337aae5664b250cdd9a73f6eb1503.tar.xz
ARM: hisi: handle of_iomap and fix missing of_node_put
Relying on an unchecked of_iomap() which can return NULL is problematic here, an explicit check seems mandatory. Also the call to of_find_compatible_node() returns a device node with refcount incremented therefor an explicit of_node_put() is needed here. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Fixes: commit 22bae4290457 ("ARM: hi3xxx: add hotplug support") Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions