linux-stable/drivers/hv
YueHaibing f1aa9139dd hv_utils: Fix passing zero to 'PTR_ERR' warning
[ Upstream commit c6a8625fa4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:15:45 +02:00
..
channel.c vmbus: keep pointer to ring buffer page 2019-11-20 18:47:31 +01:00
channel_mgmt.c Drivers: hv: vmbus: Increase wait time for VMbus unload 2021-05-22 10:59:32 +02:00
connection.c Drivers: hv: vmbus: Offload the handling of channels to two workqueues 2018-12-13 09:16:22 +01:00
hv.c Drivers: hv: vmbus: Fix synic per-cpu context initialization 2019-11-20 18:46:31 +01:00
hv_balloon.c hv_balloon: disable warning when floor reached 2020-11-18 19:18:41 +01:00
hv_fcopy.c
hv_kvp.c Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up 2019-09-16 08:21:54 +02:00
hv_snapshot.c
hv_trace.c
hv_trace.h
hv_trace_balloon.h
hv_util.c hv_utils: Fix passing zero to 'PTR_ERR' warning 2021-07-20 16:15:45 +02:00
hv_utils_transport.c
hv_utils_transport.h
hyperv_vmbus.h Drivers: hv: vmbus: Offload the handling of channels to two workqueues 2018-12-13 09:16:22 +01:00
Kconfig x86, hyperv: remove PCI dependency 2019-01-13 09:51:00 +01:00
Makefile
ring_buffer.c Drivers: hv: vmbus: Check for ring when getting debug info 2019-01-31 08:14:36 +01:00
vmbus_drv.c Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23) 2020-08-11 15:32:33 +02:00