mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-14 07:31:25 +00:00
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 | ||