aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorWentao Liang <[email protected]>2025-04-02 03:16:43 +0000
committerMiquel Raynal <[email protected]>2025-04-07 07:02:31 +0000
commitd027951dc85cb2e15924c980dc22a6754d100c7c (patch)
tree9b06f82957e45c4e5666c34761b38034fe5378bc /net/core/lock_debug.c
parentmtd: nand: Drop explicit test for built-in CONFIG_SPI_QPIC_SNAND (diff)
downloadkernel-d027951dc85cb2e15924c980dc22a6754d100c7c.tar.gz
kernel-d027951dc85cb2e15924c980dc22a6754d100c7c.zip
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: [email protected] # v2.6+ Signed-off-by: Wentao Liang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions