lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ