* [PATCH] EFI: correct indentation in efi_tables()
@ 2022-04-06 13:32 Jan Beulich
2022-04-06 13:36 ` Julien Grall
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2022-04-06 13:32 UTC (permalink / raw)
To: xen-devel
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini, Wei Liu
Eliminate hard tabs. While there also cast to the intended type.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/common/efi/boot.c
+++ b/xen/common/efi/boot.c
@@ -856,15 +856,15 @@ static void __init efi_tables(void)
static EFI_GUID __initdata smbios3_guid = SMBIOS3_TABLE_GUID;
if ( match_guid(&acpi2_guid, &efi_ct[i].VendorGuid) )
- efi.acpi20 = (long)efi_ct[i].VendorTable;
+ efi.acpi20 = (unsigned long)efi_ct[i].VendorTable;
if ( match_guid(&acpi_guid, &efi_ct[i].VendorGuid) )
- efi.acpi = (long)efi_ct[i].VendorTable;
+ efi.acpi = (unsigned long)efi_ct[i].VendorTable;
if ( match_guid(&mps_guid, &efi_ct[i].VendorGuid) )
- efi.mps = (long)efi_ct[i].VendorTable;
+ efi.mps = (unsigned long)efi_ct[i].VendorTable;
if ( match_guid(&smbios_guid, &efi_ct[i].VendorGuid) )
- efi.smbios = (long)efi_ct[i].VendorTable;
+ efi.smbios = (unsigned long)efi_ct[i].VendorTable;
if ( match_guid(&smbios3_guid, &efi_ct[i].VendorGuid) )
- efi.smbios3 = (long)efi_ct[i].VendorTable;
+ efi.smbios3 = (unsigned long)efi_ct[i].VendorTable;
}
#ifndef CONFIG_ARM /* TODO - disabled until implemented on ARM */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] EFI: correct indentation in efi_tables()
2022-04-06 13:32 [PATCH] EFI: correct indentation in efi_tables() Jan Beulich
@ 2022-04-06 13:36 ` Julien Grall
0 siblings, 0 replies; 2+ messages in thread
From: Julien Grall @ 2022-04-06 13:36 UTC (permalink / raw)
To: Jan Beulich, xen-devel
Cc: Andrew Cooper, George Dunlap, Stefano Stabellini, Wei Liu
Hi Jan,
On 06/04/2022 14:32, Jan Beulich wrote:
> Eliminate hard tabs. While there also cast to the intended type.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Cheers,
--
Julien Grall
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-06 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 13:32 [PATCH] EFI: correct indentation in efi_tables() Jan Beulich
2022-04-06 13:36 ` Julien Grall
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.