aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-05-13 13:35:10 +0200
committerLinus Walleij <[email protected]>2023-05-16 15:25:57 +0200
commit070a10d6fe1b2f4cc5d6c38b478cc059461eabe9 (patch)
tree1eca59c69c615a432cd9524c117cead6c02799ac /tools/perf/scripts/python/netdev-times.py
parent6a16d1a5ba8c54b997b1cd10342ff3971652554d (diff)
pinctrl: qcom: sc8180x: gracefully handle missing IO memory resource
If device was probed with incorrect DT or ACPI tables, the IO memory resource would be missing and driver would derefernce NULL pointer in sc8180x_pinctrl_add_tile_resources(). Add simplep check if IO memory resource was provided to silence Smatch warning: drivers/pinctrl/qcom/pinctrl-sc8180x.c:1664 sc8180x_pinctrl_add_tile_resources() error: potentially dereferencing uninitialized 'mres'. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions