linux/drivers/net/phy/mscc
kernel test robot faea30ed71 net: phy: mscc: fix ptr_ret.cocci warnings
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: 7d272e63e0 ("net: phy: mscc: timestamping and PHC support")
CC: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-09 13:09:51 -07:00
..
Makefile net: phy: mscc: 1588 block initialization 2020-06-24 14:33:16 -07:00
mscc_fc_buffer.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_mac.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_macsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
mscc_macsec.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_main.c net: phy: mscc: improve vsc8514/8584_config_init consistency 2020-06-25 16:22:11 -07:00
mscc_ptp.c net: phy: mscc: fix ptr_ret.cocci warnings 2020-07-09 13:09:51 -07:00
mscc_ptp.h net: phy: mscc: 1588 block initialization 2020-06-24 14:33:16 -07:00
mscc.h net: phy: mscc: timestamping and PHC support 2020-06-24 14:33:16 -07:00