mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
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_fc_buffer.h | ||
mscc_mac.h | ||
mscc_macsec.c | ||
mscc_macsec.h | ||
mscc_main.c | ||
mscc_ptp.c | ||
mscc_ptp.h | ||
mscc.h |