diff options
| author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-09-10 16:41:22 +0200 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-09-11 09:21:34 +0100 | 
| commit | 6fa9d691b91ac6e6d8a1e3799d24324a6a70663f (patch) | |
| tree | 5722148d11e3955a8ab1814e41edbe29fe6ea3dc /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | e7f13f44c77b68f8c4e6ea77984aa142613a50c9 (diff) | |
net: stmmac: Prevent divide-by-zero
When RX Coalesce settings are set to all zero (which is a valid setting)
we will currently get a divide-by-zero error. Fix it.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
