aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-05-14 15:01:16 +0800
committerWei Liu <wei.liu@kernel.org>2021-05-18 10:50:46 +0000
commitc6a8625fa4c6b0a97860d053271660ccedc3d1b3 (patch)
tree5d493b78e5ba582193d32df9a9f213ae5d953c44 /tools/perf/scripts/python/futex-contention.py
parentbf5fd8cae3c8f0d1e6f71a076e0ce2bd17645d0b (diff)
hv_utils: Fix passing zero to 'PTR_ERR' warning
Sparse warn this: drivers/hv/hv_util.c:753 hv_timesync_init() warn: passing zero to 'PTR_ERR' Use PTR_ERR_OR_ZERO instead of PTR_ERR to fix this. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20210514070116.16800-1-yuehaibing@huawei.com [ wei: change %ld to %d ] Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions