aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-02-24 14:58:05 +0800
committerOded Gabbay <[email protected]>2022-02-28 14:22:06 +0200
commit9c27896ac1bb83ea5c461ce6f7089d02102a2b21 (patch)
tree07bc4050d0d6a6dd7e9a53a5a9cbb358100b28dd /tools/perf/scripts/python/libxed.py
parenta78b07dcae2f9d6fafadb05540d8152f575d7e59 (diff)
habanalabs: Add check for pci_enable_device
As the potential failure of the pci_enable_device(), it should be better to check the return value and return error if fails. Fixes: 70b2f993ea4a ("habanalabs: create common folder") Signed-off-by: Jiasheng Jiang <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions