]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pstore: Replace arguments for write() API
authorKees Cook <keescook@chromium.org>
Sat, 4 Mar 2017 07:28:53 +0000 (23:28 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 22:00:56 +0000 (14:00 -0800)
commit76cc9580e3fbd323651d06e8184a5a54e0e1066e
tree0543b98aec0098cbe571653ce8b6cb14362e133e
parent125cc42baf8ab2149c207f8a360ea25668b8422d
pstore: Replace arguments for write() API

Similar to the pstore_info read() callback, there were too many arguments.
This switches to the new struct pstore_record pointer instead. This adds
"reason" and "part" to the record structure as well.

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
include/linux/pstore.h