linux_dsm_epyc7002/drivers/firmware/efi
Matt Fleming 8a415b8c05 efi, pstore: Read data from variable store before memcpy()
Seiji reported getting empty dmesg-* files, because the data was never
actually read in efi_pstore_read_func(), and so the memcpy() was copying
garbage data.

This patch necessitated adding __efivar_entry_get() which is callable
between efivar_entry_iter_{begin,end}(). We can also delete
__efivar_entry_size() because efi_pstore_read_func() was the only
caller.

Reported-by: Seiji Aguchi <seiji.aguchi@hds.com>
Tested-by: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2013-04-30 16:03:10 +01:00
..
efi-pstore.c efi, pstore: Read data from variable store before memcpy() 2013-04-30 16:03:10 +01:00
efi.c Linux 3.9 2013-04-30 11:42:13 +01:00
efivars.c Linux 3.9 2013-04-30 11:42:13 +01:00
Kconfig
Makefile
vars.c efi, pstore: Read data from variable store before memcpy() 2013-04-30 16:03:10 +01:00