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

Jiunn Chang c0d1n61at3 at gmail.com
Wed Jun 26 23:29:47 UTC 2019


On Wed, Jun 26, 2019 at 05:47:17PM -0500, Jiunn Chang wrote:
> 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


More information about the Linux-kernel-mentees mailing list