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:   Thu, 09 Jul 2020 13:10:18 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     lkp@...el.com
Cc:     antoine.tenart@...tlin.com, kbuild-all@...ts.01.org,
        quentin.schulz@...tlin.com, andrew@...n.ch, f.fainelli@...il.com,
        hkallweit1@...il.com, linux@...linux.org.uk, kuba@...nel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: phy: mscc: fix ptr_ret.cocci warnings

From: kernel test robot <lkp@...el.com>
Date: Fri, 10 Jul 2020 00:06:18 +0800

> From: kernel test robot <lkp@...el.com>
> 
> drivers/net/phy/mscc/mscc_ptp.c:1496:1-3: WARNING: PTR_ERR_OR_ZERO can be used
> 
> 
>  Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
> 
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
> 
> Fixes: 7d272e63e097 ("net: phy: mscc: timestamping and PHC support")
> CC: Antoine Tenart <antoine.tenart@...tlin.com>
> Signed-off-by: kernel test robot <lkp@...el.com>

Applied, thanks.

Powered by blists - more mailing lists