mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
[ Upstream commit12ba8f8ce2] If the kstrtouint() calls fail, then this should return a negative error code but it currently returns success. Fixes:dd84cb022b("mtd: bcm63xxpart: move imagetag parsing to its own parser") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/YBKFtNaFHGYBj+u4@mwanda Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
86399c1911
commit
da7a5e73cd
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue