All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wireless/atmel: remove time_t usage
@ 2017-02-23 16:14 ` Alexandre Belloni
  0 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2017-02-23 16:14 UTC (permalink / raw)
  To: Simon Kelley, Kalle Valo
  Cc: linux-wireless, netdev, linux-arm-kernel, Alexandre Belloni

last_qual never really holds a time. It only holds jiffies. Make it the
same type as jiffies.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 drivers/net/wireless/atmel/atmel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c
index e12f62356fd1..27b110dc8cc6 100644
--- a/drivers/net/wireless/atmel/atmel.c
+++ b/drivers/net/wireless/atmel/atmel.c
@@ -513,7 +513,7 @@ struct atmel_private {
 	} station_state;
 
 	int operating_mode, power_mode;
-	time_t last_qual;
+	unsigned long last_qual;
 	int beacons_this_sec;
 	int channel;
 	int reg_domain, config_reg_domain;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-03-20 16:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 16:14 [PATCH] wireless/atmel: remove time_t usage Alexandre Belloni
2017-02-23 16:14 ` Alexandre Belloni
2017-02-23 16:14 ` Alexandre Belloni
2017-03-08 15:13 ` Kalle Valo
2017-03-08 15:13   ` Kalle Valo
2017-03-08 15:13 ` Kalle Valo
     [not found] ` <20170308151340.9D6E360209@smtp.codeaurora.org>
2017-03-08 16:10   ` Alexandre Belloni
2017-03-08 16:10     ` Alexandre Belloni
2017-03-08 16:10     ` Alexandre Belloni
2017-03-08 18:53     ` Kalle Valo
2017-03-08 18:53       ` Kalle Valo
2017-03-08 18:53       ` Kalle Valo
2017-03-20 16:43 ` atmel: " Kalle Valo
2017-03-20 16:43   ` Kalle Valo
2017-03-20 16:43 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.