diff options
author | Wentao Liang <vulab@iscas.ac.cn> | 2025-04-02 06:16:43 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-04-07 10:02:31 +0300 |
commit | d027951dc85cb2e15924c980dc22a6754d100c7c (patch) | |
tree | 9b06f82957e45c4e5666c34761b38034fe5378bc /tools/perf/scripts/python/gecko.py | |
parent | 36c6468724aa98d33fea9a1d7e07ddda6302f5d4 (diff) | |
download | linux-d027951dc85cb2e15924c980dc22a6754d100c7c.tar.xz |
mtd: inftlcore: Add error check for inftl_read_oob()
In INFTL_findwriteunit(), the return value of inftl_read_oob()
need to be checked. A proper implementation can be
found in INFTL_deleteblock(). The status will be set as
SECTOR_IGNORE to break from the while-loop correctly
if the inftl_read_oob() fails.
Fixes: 8593fbc68b0d ("[MTD] Rework the out of band handling completely")
Cc: stable@vger.kernel.org # v2.6+
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions