f88baf68eb
If cxt->pstore.buf allocated failed, no need to initialize cxt->pstore.buf_lock. So this patch moves spin_lock_init() after the error checking. Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: Kees Cook <keescook@chromium.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ftrace.c | ||
inode.c | ||
internal.h | ||
platform.c | ||
pmsg.c | ||
ram.c | ||
ram_core.c |