tangled
alpha
login
or
join now
tjh.dev
/
kernel
1
fork
atom
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge branch 'efi/next' into efi/urgent
Ard Biesheuvel
2 years ago
290be0a4
c3f38fa6
+5
-4
2 changed files
expand all
collapse all
unified
split
drivers
firmware
efi
efi-pstore.c
libstub
zboot.lds
+4
-4
drivers/firmware/efi/efi-pstore.c
reviewed
···
136
136
&size, record->buf);
137
137
if (status != EFI_SUCCESS) {
138
138
kfree(record->buf);
139
139
-
return -EIO;
139
139
+
return efi_status_to_err(status);
140
140
}
141
141
142
142
/*
···
189
189
return 0;
190
190
191
191
if (status != EFI_SUCCESS)
192
192
-
return -EIO;
192
192
+
return efi_status_to_err(status);
193
193
194
194
/* skip variables that don't concern us */
195
195
if (efi_guidcmp(guid, LINUX_EFI_CRASH_GUID))
···
227
227
record->size, record->psi->buf,
228
228
true);
229
229
efivar_unlock();
230
230
-
return status == EFI_SUCCESS ? 0 : -EIO;
230
230
+
return efi_status_to_err(status);
231
231
};
232
232
233
233
static int efi_pstore_erase(struct pstore_record *record)
···
238
238
PSTORE_EFI_ATTRIBUTES, 0, NULL);
239
239
240
240
if (status != EFI_SUCCESS && status != EFI_NOT_FOUND)
241
241
-
return -EIO;
241
241
+
return efi_status_to_err(status);
242
242
return 0;
243
243
}
244
244
+1
drivers/firmware/efi/libstub/zboot.lds
reviewed
···
41
41
}
42
42
43
43
/DISCARD/ : {
44
44
+
*(.discard .discard.*)
44
45
*(.modinfo .init.modinfo)
45
46
}
46
47
}