diff options
author | 2021-01-28 12:36:52 +0300 | |
---|---|---|
committer | 2021-01-28 22:24:54 +0100 | |
commit | 12ba8f8ce29fdd277f3100052eddc1afd2f5ea3f (patch) | |
tree | e2f27cdc5f96a07caa981d7e835982dd632f8adb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: phram: use div_u64_rem to stop overwrite len in phram_setup (diff) | |
download | wireguard-linux-12ba8f8ce29fdd277f3100052eddc1afd2f5ea3f.tar.xz wireguard-linux-12ba8f8ce29fdd277f3100052eddc1afd2f5ea3f.zip |
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: dd84cb022b31 ("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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions