diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/apei/erst.c | 4 | ||||
-rw-r--r-- | drivers/firmware/efi/efi-pstore.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c index bcdf8cefcb9e..b412e9137e36 100644 --- a/drivers/acpi/apei/erst.c +++ b/drivers/acpi/apei/erst.c | |||
@@ -935,7 +935,7 @@ static int erst_open_pstore(struct pstore_info *psi); | |||
935 | static int erst_close_pstore(struct pstore_info *psi); | 935 | static int erst_close_pstore(struct pstore_info *psi); |
936 | static ssize_t erst_reader(u64 *id, enum pstore_type_id *type, int *count, | 936 | static ssize_t erst_reader(u64 *id, enum pstore_type_id *type, int *count, |
937 | struct timespec *time, char **buf, | 937 | struct timespec *time, char **buf, |
938 | struct pstore_info *psi); | 938 | bool *compressed, struct pstore_info *psi); |
939 | static int erst_writer(enum pstore_type_id type, enum kmsg_dump_reason reason, | 939 | static int erst_writer(enum pstore_type_id type, enum kmsg_dump_reason reason, |
940 | u64 *id, unsigned int part, int count, bool compressed, | 940 | u64 *id, unsigned int part, int count, bool compressed, |
941 | size_t size, struct pstore_info *psi); | 941 | size_t size, struct pstore_info *psi); |
@@ -991,7 +991,7 @@ static int erst_close_pstore(struct pstore_info *psi) | |||
991 | 991 | ||
992 | static ssize_t erst_reader(u64 *id, enum pstore_type_id *type, int *count, | 992 | static ssize_t erst_reader(u64 *id, enum pstore_type_id *type, int *count, |
993 | struct timespec *time, char **buf, | 993 | struct timespec *time, char **buf, |
994 | struct pstore_info *psi) | 994 | bool *compressed, struct pstore_info *psi) |
995 | { | 995 | { |
996 | int rc; | 996 | int rc; |
997 | ssize_t len = 0; | 997 | ssize_t len = 0; |
diff --git a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c index fab6892f7053..9a5425f3f885 100644 --- a/drivers/firmware/efi/efi-pstore.c +++ b/drivers/firmware/efi/efi-pstore.c | |||
@@ -87,7 +87,8 @@ static int efi_pstore_read_func(struct efivar_entry *entry, void *data) | |||
87 | 87 | ||
88 | static ssize_t efi_pstore_read(u64 *id, enum pstore_type_id *type, | 88 | static ssize_t efi_pstore_read(u64 *id, enum pstore_type_id *type, |
89 | int *count, struct timespec *timespec, | 89 | int *count, struct timespec *timespec, |
90 | char **buf, struct pstore_info *psi) | 90 | char **buf, bool *compressed, |
91 | struct pstore_info *psi) | ||
91 | { | 92 | { |
92 | struct pstore_read_data data; | 93 | struct pstore_read_data data; |
93 | 94 | ||