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)
commit6f61dd3aa35179043f1fcdb0965c5d56278ab724
treea9f68548fb83119fba500580c5c3c785d758419e
parent3a7d2fd16c57a1ef47dc2891171514231c9c7c6e
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: 125cc42baf8a ("pstore: Replace arguments for read() API")
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/firmware/efi/efi-pstore.c