Skip to content
Commit 12ba8f8c authored by Dan Carpenter's avatar Dan Carpenter Committed by Miquel Raynal
Browse files

mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()



If the kstrtouint() calls fail, then this should return a negative
error code but it currently returns success.

Fixes: dd84cb02 ("mtd: bcm63xxpart: move imagetag parsing to its own parser")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/YBKFtNaFHGYBj+u4@mwanda
parent dc2b3e5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment