rtc: Change type of 'count' from int to u64
PATCH RESEND 1/1 rtc: Change type of 'count' from int to u64
Callers of hrtimer_forward_now() should save the return value in u64. function rtc_pie_update_irq() stores it in variable 'count' of type int change type of count from unsigned long to u64 to solve the issue.
Signed-off-by Puranjay Mohan <puranjay12 at gmail.com>
---
RESEND - Added required mailing lists in CC
drivers/rtc/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/interface.c +1 -1
@@ -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);
Signature · 1 line
2.21.0