]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: change len type from signed to unsigned type
authorhuijin.park <huijin.park@samsung.com>
Thu, 29 Nov 2018 04:19:51 +0000 (23:19 -0500)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 3 Dec 2018 10:32:26 +0000 (11:32 +0100)
commite67a13f1b40479f2c9b8f96e988a119e79b19227
treecb01bea50eb502dd4d93e4d9d9ef0b45eeb7eff8
parent385e4b797bc26b675303efe60fda595cb04f81a4
mtd: change len type from signed to unsigned type

Callers of erase_write() always pass an unsigned int.
So this patch avoids a cast to an int.

Signed-off-by: huijin.park <huijin.park@samsung.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/mtdblock.c