diff options
| author | Dan Carpenter <[email protected]> | 2021-11-17 07:48:43 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-11-23 05:12:13 +0000 |
| commit | f0ae8685b2858fc1dabf5ea743642abb5f242375 (patch) | |
| tree | e9c7e9114873090f7d9a49ccae486bd61d5a2d36 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | dt-bindings: phy: zynqmp-psgtr: fix USB phy name (diff) | |
| download | kernel-f0ae8685b2858fc1dabf5ea743642abb5f242375.tar.gz kernel-f0ae8685b2858fc1dabf5ea743642abb5f242375.zip | |
phy: HiSilicon: Fix copy and paste bug in error handling
This should check ">pmctrl" instead of "->sysctrl". This bug could
potentially lead to a crash if we dereference the error pointer.
Fixes: 73075011ffff ("phy: HiSilicon: Add driver for Kirin 970 PCIe PHY")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/20211117074843.GE5237@kili
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
