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: <20210106155047.5d39fc42@xps13>
Date:   Wed, 6 Jan 2021 15:50:47 +0100
From:   Miquel Raynal <miquel.raynal@...tlin.com>
To:     Zheng Yongjun <zhengyongjun3@...wei.com>
Cc:     <vigneshr@...com>, <linux-mtd@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <richard@....at>
Subject: Re: [PATCH -next] mtd: rawnand: marvell: use resource_size

Hello

Zheng Yongjun <zhengyongjun3@...wei.com> wrote on Wed, 6 Jan 2021
21:18:39 +0800:

> Use resource_size rather than a verbose computation on
> the end and start fields.

Same as your previous patch, the description does not match the change.

> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
> ---
>  drivers/mtd/nand/raw/marvell_nand.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c
> index f5ca2002d08e..3e01b11c87f8 100644
> --- a/drivers/mtd/nand/raw/marvell_nand.c
> +++ b/drivers/mtd/nand/raw/marvell_nand.c
> @@ -2396,7 +2396,7 @@ static int marvell_nfc_setup_interface(struct nand_chip *chip, int chipnr,
>  	 * be greater than that to be sure tCCS delay is respected.
>  	 */
>  	nfc_tmg.tWHR = TO_CYCLES(max_t(int, sdr->tWHR_min, sdr->tCCS_min),
> -				 period_ns) - 2,
> +				 period_ns) - 2;
>  	nfc_tmg.tRHW = TO_CYCLES(max_t(int, sdr->tRHW_min, sdr->tCCS_min),
>  				 period_ns);
>  




Thanks,
Miquèl

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ