From: Seiji Aguchi Date: Tue, 24 Jul 2012 13:27:23 +0000 (+0000) Subject: efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable X-Git-Tag: v3.2.32~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13fcf5d1c5fe491aeb0b0f34a46d88134432edb1;p=pandora-kernel.git efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable commit d6cf86d8f23253225fe2a763d627ecf7dfee9dae upstream. A value of efi.runtime_version is checked before calling update_capsule()/query_variable_info() as follows. But it isn't initialized anywhere. static efi_status_t virt_efi_query_variable_info(u32 attr, u64 *storage_space, u64 *remaining_space, u64 *max_variable_size) { if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) return EFI_UNSUPPORTED; This patch initializes a value of efi.runtime_version at boot time. Signed-off-by: Seiji Aguchi Acked-by: Matthew Garrett Signed-off-by: Matt Fleming Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed