aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorLuo bin <[email protected]>2020-07-01 11:16:33 +0800
committerDavid S. Miller <[email protected]>2020-07-01 12:14:04 -0700
commitd3c54f7f18cb82283777998c4bec52e49241c783 (patch)
treecba02624e13eb1d28da289f7771687a908d2e809 /tools/perf/scripts/python/sched-migration.py
parent8ff41cc21714704ef0158a546c3c4d07fae2c952 (diff)
hinic: fix passing non negative value to ERR_PTR
get_dev_cap and set_resources_state functions may return a positive value because of hardware failure, and the positive return value can not be passed to ERR_PTR directly. Fixes: 7dd29ee12865 ("hinic: add sriov feature support") Signed-off-by: Luo bin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions