Re: [PATCH] mtd: parser_imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()

2021-01-28 Thread Miquel Raynal
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

[PATCH] mtd: parser_imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()

2021-01-28 Thread Dan Carpenter
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 --- drivers/mtd/parsers/parser_imagetag.c | 4 1 file changed, 4