aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBard Liao <[email protected]>2021-04-06 09:01:01 +0800
committerVinod Koul <[email protected]>2021-04-06 10:26:44 +0530
commit14968dd36a507866be0edfc2a05d48c997da5d99 (patch)
tree25f529b4d55e29e032b9f555d12a721845b01614 /tools/perf/scripts/python/intel-pt-events.py
parente729e0fdc63d8f22cbce61159cee88c04e42b3e2 (diff)
soundwire: intel_init: test link->cdns
intel_link_probe() could return error and dev_get_drvdata() will return null in such case. So we have to test link->cdns after link->cdns = dev_get_drvdata(&ldev->auxdev.dev); Otherwise, we will meet the "kernel NULL pointer dereference" error. Signed-off-by: Bard Liao <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Rander Wang <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions