wil6210: Fix division by zero in wil_vring_debugfs_show
authorBoris Sorochkin <boriss@codeaurora.org>
Sun, 15 Feb 2015 12:02:35 +0000 (14:02 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 27 Feb 2015 08:15:20 +0000 (10:15 +0200)
commit8f55cbec7f8856438eef80e23f26331bea124128
tree9d3bdefd6a77da6ab45c747046ebfabc564cbd4c
parent0436fd9a2d1e0c87a621841ab48e779cf8f237b4
wil6210: Fix division by zero in wil_vring_debugfs_show

On some platforms get_cycles() implemented to allways return 0.
On such platforms "Division by zero" bug was triggered.

Signed-off-by: Boris Sorochkin <boriss@codeaurora.org>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c
This page took 0.032929 seconds and 5 git commands to generate.