[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210515155039.pf3q2vpxhov5afdp@liuwe-devbox-debian-v2>
Date: Sat, 15 May 2021 15:50:39 +0000
From: Wei Liu <wei.liu@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, sthemmin@...rosoft.com,
wei.liu@...nel.org, decui@...rosoft.com, lkmlabelt@...il.com,
linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] hv_utils: Fix passing zero to 'PTR_ERR' warning
On Fri, May 14, 2021 at 03:01:16PM +0800, YueHaibing wrote:
> 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@...wei.com>
Applied to hyperv-next. Thanks.
Powered by blists - more mailing lists