diff options
author | Fugang Duan <[email protected]> | 2021-06-16 17:14:25 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-16 12:39:03 -0700 |
commit | cb3cefe3f3f8af27c6076ef7d1f00350f502055d (patch) | |
tree | 0248ddfa4289a40dd5208ff80186e59441cba267 /tools/perf/scripts/python/flamegraph.py | |
parent | 56b786d86694e079d8aad9b314e015cd4ac02a3d (diff) |
net: fec_ptp: add clock rate zero check
Add clock rate zero check to fix coverity issue of "divide by 0".
Fixes: commit 85bd1798b24a ("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]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions