]> 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)
commit3bf924a0188e10770369b0e73fa8b8e087fa0526
treea9f68548fb83119fba500580c5c3c785d758419e
parent8d1ce29a7adc8f2e84cea2f08299939c166aa07d
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: 086d097b9d90 ("pstore: Replace arguments for read() API")
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/firmware/efi/efi-pstore.c