Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 7d272e6 ("net: phy: mscc: timestamping and PHC support") CC: Antoine Tenart <[email protected]> Signed-off-by: kernel test robot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information