diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-04-07 00:56:30 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-05-12 20:52:30 +0300 |
commit | 1855ad5360a18131e5c4b4afa1a1c5dea6e456c6 (patch) | |
tree | ae973dad613ce743deb41b0712a026626fcf7eb4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9a865741d84ec08dfd04fc28a5fca210f919f54d (diff) | |
download | linux-1855ad5360a18131e5c4b4afa1a1c5dea6e456c6.tar.xz |
mt76: mt7615: fix possible division by 0 in mt7615_mac_update_mib_stats
Check that val is not zero before aggr_per estimation in order to avoid a
possible division by 0
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions