tmp_suning_uos_patched/drivers/net/phy
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
..
mscc net: phy: mscc: fix ptr_ret.cocci warnings 2020-07-09 13:09:51 -07:00
adin.c net: phy: Fixup parameters in kerneldoc 2020-07-07 12:47:10 -07:00
amd.c
aquantia_hwmon.c
aquantia_main.c
aquantia.h
at803x.c net: phy: at803x: Avoid comparison is always false warning 2020-07-07 12:47:10 -07:00
ax88796b.c
bcm-cygnus.c
bcm-phy-lib.c net: phy: broadcom: don't export RDB/legacy access methods 2020-06-01 12:02:57 -07:00
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
bcm54140.c
bcm84881.c
broadcom.c
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83640_reg.h
dp83640.c net: phy: dp83640: Fixup cast to restricted __be16 warning 2020-07-07 12:47:11 -07:00
dp83822.c net: phy: DP83822: Add setting the fixed internal delay 2020-06-25 16:05:21 -07:00
dp83848.c
dp83867.c net: dp83867: Fix OF_MDIO config check 2020-06-05 13:15:22 -07:00
dp83869.c net: dp83869: Add RGMII internal delay configuration 2020-06-25 16:05:21 -07:00
et1011c.c
fixed_phy.c net: phy: fixed_phy: Remove unused seqcount 2020-06-04 15:50:42 -07:00
icplus.c
intel-xway.c
Kconfig net: phy: add a Kconfig option for mdio_devres 2020-07-07 15:37:02 -07:00
linkmode.c
lxt.c
Makefile net: phy: add a Kconfig option for mdio_devres 2020-07-07 15:37:02 -07:00
marvell.c net: phy: marvell: Add Marvell 88E1548P support 2020-06-22 16:28:34 -07:00
marvell10g.c net: phy: marvell10g: support XFI rate matching mode 2020-06-29 17:24:31 -07:00
mdio_bus.c net: phy: don't abuse devres in devm_mdiobus_register() 2020-06-30 15:57:34 -07:00
mdio_device.c net: phy: Fixup parameters in kerneldoc 2020-07-07 12:47:10 -07:00
mdio_devres.c of: mdio: provide devm_of_mdiobus_register() 2020-06-30 15:57:34 -07:00
mdio-aspeed.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c net: phy: Fixup parameters in kerneldoc 2020-07-07 12:47:10 -07:00
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h net: phy: cavium: Improve __iomem mess 2020-07-07 12:47:11 -07:00
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-i2c.h
mdio-ipq4019.c
mdio-ipq8064.c
mdio-moxart.c
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-meson-g12a.c
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c
mdio-mux.c
mdio-mvusb.c
mdio-octeon.c net: phy: mdio-octeon: Cleanup module loading dependencies 2020-07-07 12:47:11 -07:00
mdio-sun4i.c
mdio-thunder.c net: phy: cavium: Improve __iomem mess 2020-07-07 12:47:11 -07:00
mdio-xgene.c
mdio-xgene.h
mdio-xpcs.c
meson-gxl.c
micrel.c
microchip_t1.c
microchip.c
mii_timestamper.c
national.c
nxp-tja11xx.c
phy_device.c net: phy: Define PHY statistics ethtool_phy_ops 2020-07-08 12:39:05 -07:00
phy_led_triggers.c
phy-c45.c net: phy: split devices_in_package 2020-06-19 20:17:15 -07:00
phy-core.c ethtool: Add support for 100Gbps per lane link modes 2020-07-08 15:30:42 -07:00
phy.c net: phy: Uninline PHY ethtool statistics operations 2020-07-08 12:39:05 -07:00
phylink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c
sfp.c net: sfp: add error checking with sfp_irq_name 2020-07-07 15:51:08 -07:00
sfp.h
smsc.c net: phy: smsc: fix printing too many logs 2020-06-22 16:08:48 -07:00
spi_ks8995.c
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c