]> git.baikalelectronics.ru Git - kernel.git/commit
efivars: add missing parameter to efi_pstore_read()
authorChristoph Fritz <chf.fritz@googlemail.com>
Mon, 28 Nov 2011 22:49:33 +0000 (23:49 +0100)
committerTony Luck <tony.luck@intel.com>
Mon, 28 Nov 2011 23:33:32 +0000 (15:33 -0800)
commite2d3973911e3f3b18c67ecf37a2c2a40680d453c
treed66440dd23e30649cf34ba61d360a4fd0f4c51e0
parent68c7e9da6313e019aa17fecca06f49b8027731d1
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 68c7e9da6313e019aa17fecca06f49b8027731d1

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/firmware/efivars.c