aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-06-15 09:09:20 +0300
committerMiquel Raynal <[email protected]>2023-06-19 10:26:06 +0200
commitcefa1aaa31bd7bb73a37c15ec66a9353753b2abc (patch)
tree54016745323aa0a362fec2e2bf798c3b780c74dd /drivers/fpga/fpga-bridge.c
parenta5e393c1e8760cd66b3f3860a8aede185733cd6d (diff)
mtd: otp: clean up on error in mtd_otp_nvmem_add()
Smatch complains that these error paths are missing cleanup: drivers/mtd/mtdcore.c:983 mtd_otp_nvmem_add() warn: missing unwind goto? This needs to call nvmem_unregister(mtd->otp_user_nvmem) before returning. Fixes: 3b270fac8443 ("mtd: otp: Put factory OTP/NVRAM into the entropy pool") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions