diff options
| author | YueHaibing <[email protected]> | 2021-05-14 07:01:16 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2021-05-18 10:50:46 +0000 |
| commit | c6a8625fa4c6b0a97860d053271660ccedc3d1b3 (patch) | |
| tree | 5d493b78e5ba582193d32df9a9f213ae5d953c44 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | scsi: storvsc: Use blk_mq_unique_tag() to generate requestIDs (diff) | |
| download | kernel-c6a8625fa4c6b0a97860d053271660ccedc3d1b3.tar.gz kernel-c6a8625fa4c6b0a97860d053271660ccedc3d1b3.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ wei: change %ld to %d ]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
