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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+M3ks50fANU6z0JTB01QH0+rABjEyFcrNyKFK18UHiE6Qqkog@mail.gmail.com>
Date:   Wed, 15 Feb 2017 11:37:21 +0100
From:   Benjamin Gaignard <benjamin.gaignard@...aro.org>
To:     Fabrice Gasnier <fabrice.gasnier@...com>
Cc:     Lee Jones <lee.jones@...aro.org>,
        Alexandre Torgue <alexandre.torgue@...com>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Benjamin GAIGNARD <benjamin.gaignard@...com>,
        linux-arm-kernel@...ts.infradead.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: stm32-timers: fix max register

2017-02-15 9:04 GMT+01:00 Fabrice Gasnier <fabrice.gasnier@...com>:
> STM32 timers register bank size is 0x400. Fix regmap max_register.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@...com>
> ---
>  drivers/mfd/stm32-timers.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/stm32-timers.c b/drivers/mfd/stm32-timers.c
> index 192cbb6..2182f00 100644
> --- a/drivers/mfd/stm32-timers.c
> +++ b/drivers/mfd/stm32-timers.c
> @@ -15,7 +15,7 @@
>         .reg_bits = 32,
>         .val_bits = 32,
>         .reg_stride = sizeof(u32),
> -       .max_register = 0x400,
> +       .max_register = 0x3fc,
>  };
>
>  static void stm32_timers_get_arr_size(struct stm32_timers *ddata)
> --
> 1.9.1
>
Acked-by: Benjamin Gaignard <benjamin.gaignard@...aro.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ