lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOh2x=kfFtT9LzqZzkkb_J7oLGmBOt0PP_YfcjqD98TEcGGJhA@mail.gmail.com>
Date:   Thu, 28 Jul 2022 15:10:58 +0530
From:   Viresh Kumar <viresh.kumar@...aro.org>
To:     Zeng Jingxiang <zengjx95@...il.com>
Cc:     a.zummo@...ertech.it, alexandre.belloni@...tlin.com,
        linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
        Zeng Jingxiang <linuszeng@...cent.com>
Subject: Re: [PATCH] rtc: rtc-spear: set range max

On Thu, Jul 28, 2022 at 2:49 PM Zeng Jingxiang <zengjx95@...il.com> wrote:
>
> From: Zeng Jingxiang <linuszeng@...cent.com>
>
> In the commit f395e1d3b28d7c2c67b73bd467c4fb79523e1c65

Please add this as fixes tag.

> ("rtc: spear: set range"), the value of
> RTC_TIMESTAMP_END_9999 was incorrectly set to range_min.
> 390     config->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
> 391     config->rtc->range_max = RTC_TIMESTAMP_END_9999;
>
> Signed-off-by: Zeng Jingxiang <linuszeng@...cent.com>
> ---
>  drivers/rtc/rtc-spear.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-spear.c b/drivers/rtc/rtc-spear.c
> index d4777b01ab22..736fe535cd45 100644
> --- a/drivers/rtc/rtc-spear.c
> +++ b/drivers/rtc/rtc-spear.c
> @@ -388,7 +388,7 @@ static int spear_rtc_probe(struct platform_device *pdev)
>
>         config->rtc->ops = &spear_rtc_ops;
>         config->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
> -       config->rtc->range_min = RTC_TIMESTAMP_END_9999;
> +       config->rtc->range_max = RTC_TIMESTAMP_END_9999;
>
>         status = devm_rtc_register_device(config->rtc);
>         if (status)

Acked-by: Viresh Kumar <viresh.kumar@...aro.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ