aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYoung Xiao <92siuyang@gmail.com>2019-05-29 10:43:58 +0800
committerLinus Walleij <linus.walleij@linaro.org>2019-06-08 01:29:42 +0200
commitf38b5069234937ae818d6a39fd4dc03d003b5565 (patch)
tree374a0cfeecf4360510bb0013fa37aa524702116f /tools/perf/scripts/python/export-to-postgresql.py
parentdt-bindings: imx: Correct pinfunc head file path for i.MX8MM (diff)
downloadlinux-dev-f38b5069234937ae818d6a39fd4dc03d003b5565.tar.xz
linux-dev-f38b5069234937ae818d6a39fd4dc03d003b5565.zip
pinctrl: ns2: Fix potential NULL dereference
platform_get_resource() may fail and return NULL, so we should better check it's return value to avoid a NULL pointer dereference a bit later in the code. Signed-off-by: Young Xiao <92siuyang@gmail.com> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions