mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 16:14:13 +08:00
dfdf141429
The current code fails to nvmem_cell_drop(cells[0]) - even worse, if the loop above fails already at i==0, we'll enter an essentially infinite loop doing nvmem_cell_drop on cells[-1], cells[-2], ... which is unlikely to end well. Also, we're not freeing the temporary backing array cells on the error path. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
core.c | ||
imx-ocotp.c | ||
Kconfig | ||
lpc18xx_eeprom.c | ||
Makefile | ||
mtk-efuse.c | ||
mxs-ocotp.c | ||
qfprom.c | ||
rockchip-efuse.c | ||
sunxi_sid.c | ||
vf610-ocotp.c |