]> git.baikalelectronics.ru Git - kernel.git/commit
efi-pstore: Fix read iter after pstore API refactor
authorKees Cook <keescook@chromium.org>
Fri, 12 May 2017 21:52:34 +0000 (14:52 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 16 May 2017 18:46:49 +0000 (11:46 -0700)
commitb8176056eb12d942a4a5f5e243935f8d193ed998
treea9f68548fb83119fba500580c5c3c785d758419e
parent72e4cd42f47e79ee70190873541957c0d926a3da
efi-pstore: Fix read iter after pstore API refactor

During the internal pstore API refactoring, the EFI vars read entry was
accidentally made to update a stack variable instead of the pstore
private data pointer. This corrects the problem (and removes the now
needless argument).

Fixes: 00e6cd2cd6ef ("pstore: Replace arguments for read() API")
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/firmware/efi/efi-pstore.c