Commit eee628da2ee3cbba6f14696278c92a464239eea6
Committed by
Tony Luck
1 parent
f6f8285132
Exists in
master
and in
6 other branches
efivars: add missing parameter to efi_pstore_read()
In the case where CONFIG_PSTORE=n, the function efi_pstore_read() doesn't have the correct list of parameters. This patch provides a definition of efi_pstore_read() with 'char **buf' added to fix this warning: "drivers/firmware/efivars.c:609: warning: initialization from". problem introduced in commit f6f8285132907757ef84ef8dae0a1244b8cde6ac Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
drivers/firmware/efivars.c