On Mon, Jun 18, 2012 at 7:15 PM, Anton Vorontsov anton.vorontsov@linaro.org wrote:
persistent_ram_new() returns ERR_PTR() value on errors, so during freeing of the przs we should check for both NULL and IS_ERR() entries, otherwise bad things will happen.
Signed-off-by: Anton Vorontsov anton.vorontsov@linaro.org
Acked-by: Kees Cook keescook@chromium.org