summaryrefslogtreecommitdiffstats
path: root/fs/pstore/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pstore/platform.c')
-rw-r--r--fs/pstore/platform.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index bad735e574..54fe60bf88 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -181,10 +181,7 @@ void pstore_get_records(int quiet)
if (psi->open && psi->open(psi))
goto out;
- while ((record.size = psi->read(&record.id, &record.type,
- &record.count,
- &record.buf, &record.compressed,
- record.psi)) > 0) {
+ while ((record.size = psi->read(&record)) > 0) {
if (record.compressed &&
record.type == PSTORE_TYPE_DMESG) {
pr_err("barebox does not have ramoops compression support\n");