aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/wil6210/debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 4e6e14501c2f..cd991fa1cc3f 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -101,8 +101,8 @@ static int wil_vring_debugfs_show(struct seq_file *s, void *data)
101 char name[10]; 101 char name[10];
102 /* performance monitoring */ 102 /* performance monitoring */
103 cycles_t now = get_cycles(); 103 cycles_t now = get_cycles();
104 cycles_t idle = txdata->idle * 100; 104 uint64_t idle = txdata->idle * 100;
105 cycles_t total = now - txdata->begin; 105 uint64_t total = now - txdata->begin;
106 106
107 do_div(idle, total); 107 do_div(idle, total);
108 txdata->begin = now; 108 txdata->begin = now;