summaryrefslogtreecommitdiff
path: root/drivers/ps3/ps3stor_lib.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-04-06 23:56:30 +0200
committerFelix Fietkau <nbd@nbd.name>2020-05-12 19:52:30 +0200
commit1855ad5360a18131e5c4b4afa1a1c5dea6e456c6 (patch)
treeae973dad613ce743deb41b0712a026626fcf7eb4 /drivers/ps3/ps3stor_lib.c
parent9a865741d84ec08dfd04fc28a5fca210f919f54d (diff)
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 'drivers/ps3/ps3stor_lib.c')
0 files changed, 0 insertions, 0 deletions