Re: [PATCH] mtd: parser_imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2021-01-28 21:26:52
Also in:
lkml
From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2021-01-28 21:26:52
Also in:
lkml
On Thu, 2021-01-28 at 09:36:52 UTC, Dan Carpenter wrote:
If the kstrtouint() calls fail, then this should return a negative
error code but it currently returns success.
Fixes: dd84cb022b31 ("mtd: bcm63xxpart: move imagetag parsing to its own parser")
Signed-off-by: Dan Carpenter <redacted>Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel