aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Lemon <[email protected]>2021-08-16 15:13:35 -0700
committerJakub Kicinski <[email protected]>2021-08-16 17:18:39 -0700
commitd9fdbf132dab4d844167004ae4ca979fbebd9871 (patch)
tree63cf896d51e58d81c84da991a0394c1485083f97 /tools/perf/scripts/python
parent7c8075728f4df477d94df2e4d23a95ee69ee9493 (diff)
ptp: ocp: Fix error path for pci_ocp_device_init()
If ptp_ocp_device_init() fails, pci_disable_device() is skipped. Fix the error handling so this case is covered. Update ptp_ocp_remove() so the normal exit path is identical. Reported-by: Hulk Robot <[email protected]> Fixes: 773bda964921 ("ptp: ocp: Expose various resources on the timecard.") Signed-off-by: Jonathan Lemon <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions