Re: [v3] mtd: change len type from signed to unsigned type

2018-12-02 Thread Boris Brezillon
On Thu, 2018-11-29 at 04:19:51 UTC, Huijin Park wrote: > From: "huijin.park" > > Callers of erase_write() always pass an unsigned int. > So this patch avoids a cast to an int. > > Signed-off-by: huijin.park > Reviewed-by: Miquel Raynal Applied to http://git.infradead.org/linux-mtd.git mtd/nex

[PATCH v3] mtd: change len type from signed to unsigned type

2018-11-28 Thread Huijin Park
From: "huijin.park" Callers of erase_write() always pass an unsigned int. So this patch avoids a cast to an int. Signed-off-by: huijin.park Reviewed-by: Miquel Raynal --- Changes since v1: * Made commit message more clear. Changes since v2: * Made commit message more clear. --- drivers/mt