aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJeffrey Hugo <[email protected]>2021-03-10 13:49:25 -0700
committerManivannan Sadhasivam <[email protected]>2021-03-16 11:47:31 +0530
commit9e40641f62cd812b21f2c73b5cfb3346eb466dea (patch)
tree90f7acc88b71b4c5a3460bc0b2dfcfdb2e0f09f3 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent68731852f6e58d19f692971dc84deb64265f6d3f (diff)
bus: mhi: core: Check state before processing power_down
We cannot process a power_down if the power state is DISABLED. There is no valid mhi_ctxt in that case, so attepting to process the power_down will likely result in a null pointer dereference. If the power state is DISABLED, there is nothing to do anyways, so just bail early. Signed-off-by: Jeffrey Hugo <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions