mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 03:17:48 +00: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 |