faea30ed71
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:
|
||
---|---|---|
.. | ||
Makefile | ||
mscc.h | ||
mscc_fc_buffer.h | ||
mscc_mac.h | ||
mscc_macsec.c | ||
mscc_macsec.h | ||
mscc_main.c | ||
mscc_ptp.c | ||
mscc_ptp.h |