Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: fec_ptp: add clock rate zero check
Add clock rate zero check to fix coverity issue of "divide by 0". Fixes: commit 85bd179 ("net: fec: fix spin_lock dead lock") Signed-off-by: Fugang Duan <[email protected]> Signed-off-by: Joakim Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information