diff options
author | Huisong Li <[email protected]> | 2024-08-28 18:49:52 +0800 |
---|---|---|
committer | Wei Xu <[email protected]> | 2024-10-14 08:54:47 +0000 |
commit | 0c811bd2721d219bd104e0dc1fa76deee5e04ae4 (patch) | |
tree | e172d33446f4317201d7cfbaea3c733c6544dae1 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1cbe974f816cf40bc0437ebabe26b453331fb0d9 (diff) |
soc: hisilicon: kunpeng_hccs: Return failure on having not die or port information
Driver is unavailable if all die number or all port number obtained from
firmware are zero. Although this is unlikely, just to harden the code.
Signed-off-by: Huisong Li <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Wei Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions