diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2022-05-18 08:53:14 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-08-23 03:01:05 +0300 |
commit | 6ab9810cfe6c8f3d8b8750c827d7870abd3751b9 (patch) | |
tree | 7648467be1fec8e5fe1ca657a30755982e36d678 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | acc1c732f35bb3a26177e54cd3de27e3524426e4 (diff) | |
download | linux-6ab9810cfe6c8f3d8b8750c827d7870abd3751b9.tar.xz |
clk: zynqmp: Add a check for NULL pointer
Add a NULL pointer check as clk_hw_get_parent can return NULL.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20220518055314.2486-1-shubhrajyoti.datta@xilinx.com
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions