Hi Boris
Thanks for review.
I will send patch again.
On Wed, Oct 31, 2018 at 10:55 PM Boris Brezillon
wrote:
>
> Hi Huijin,
>
> Subject prefix should be "mtd: spi-nor: ...", and please replace
> "unexpected error" by "unsigned int overflows".
>
> On Thu, 23 Aug 2018 03:28:02 -0400
> Huijin Park
Hi Huijin,
Subject prefix should be "mtd: spi-nor: ...", and please replace
"unexpected error" by "unsigned int overflows".
On Thu, 23 Aug 2018 03:28:02 -0400
Huijin Park wrote:
> From: "huijin.park"
>
> the params->size is defined as "u64"
> and, "info->sector_size" and "info->n_sectors" is
From: "huijin.park"
the params->size is defined as "u64"
and, "info->sector_size" and "info->n_sectors" is defined as unsgined and u16
thus, u64 data might have strange data(loss data) if data is overflow.
this patch cast it to u64.
Signed-off-by: huijin.park
---
drivers/mtd/spi-nor/spi-nor.c
3 matches
Mail list logo