pstore: Replace arguments for read() API
authorKees Cook <keescook@chromium.org>
Sat, 4 Mar 2017 06:09:18 +0000 (22:09 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 22:00:55 +0000 (14:00 -0800)
commit125cc42baf8ab2149c207f8a360ea25668b8422d
tree85bd4128f1e633e4d611477da9fba6f98fb44940
parent1edd1aa397ad3ca5f1fca1961c13910ef53f16e8
pstore: Replace arguments for read() API

The argument list for the pstore_read() interface is unwieldy. This changes
passes the new struct pstore_record instead. The erst backend was already
doing something similar internally.

Signed-off-by: Kees Cook <keescook@chromium.org>
arch/powerpc/kernel/nvram_64.c
drivers/acpi/apei/erst.c
drivers/firmware/efi/efi-pstore.c
fs/pstore/platform.c
fs/pstore/ram.c
include/linux/pstore.h