Thread (7 messages) 7 messages, 2 authors, 2019-06-26

[Linux-kernel-mentees] [PATCH] drivers: rtc: Fix return value assignment

From: Jiunn Chang <hidden>
Date: 2019-06-26 23:29:47

On Wed, Jun 26, 2019 at 05:47:17PM -0500, Jiunn Chang wrote:
quoted hunk ↗ jump to hunk
hrtimer_forward_now() returns u64, so change count to u64.

Signed-off-by: Jiunn Chang <c0d1n61at3 at gmail.com>
---
 drivers/rtc/interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index 4124f4dd376b..72b7ddc43116 100644
--- a/drivers/rtc/interface.c
+++ b/drivers/rtc/interface.c
@@ -633,7 +633,7 @@ enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer)
 {
 	struct rtc_device *rtc;
 	ktime_t period;
-	int count;
+	u64 count;
 
 	rtc = container_of(timer, struct rtc_device, pie_timer);
 
-- 
2.22.0
Hello,

Looks like this patch was already submitted by someone else.

Please ignore unless the other patches have been dropped.

Regards,

Jiunn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help