[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] EFI: correct indentation in efi_tables()


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 6 Apr 2022 15:32:22 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u+YHHQY0kbqHp0xNgZMAPFfK+BDg9leuVX8sHIIPGqo=; b=Uy+pFrsAEJBW2XnYr+bAL5yF4Lm85OxS3yMz2YfsWH7Rzo+nQ3Ady1ImSSc1508tY36scuO9+PT86NsYZIiH4+YW9nM2MiPOqWlemGHy85IwBfwxshhqsBGUmfU8EVJ9H1drD1++rqLQ2sAGKB3ROJuHKeJEQ1xQdjJJYW6Ge2ouyYOJ2Q7qlOZpUxaFmzYuyzlKfmlIYeMgf7jZA/5KSguVmgmWDbT7qqIqw+6QZy2Ni6QWsl+6AQU8wyIYZvx5TIOeonVvda+bmGRZ4ELhoDbQWd/wEzZqF0mebLBfklo8iox/Ps8Aip52lj9oFlF8nGQ8hdMHSmVq3pooj0uF2w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JBHS76gRkR57DBuORuzx4f1yehY+VdEpkb71WzcHFksJ8DLQm5jHabd0NFqshjPSE6SnWzGRRREAf7Rrb7TMTRfq1Cp0XzynK5VLImY6GueWTuMcKwIo55/mXieAPTQR/kC5D2hRYkrH9varHcjpD91zKEFjHqNkuPMrkA8ZeMJrNlR6WNbnHtpuuP/BLnIg+9Wc/WsR0JZN+TzotghiYF7NGcd2uwj4VD49D7MvJbMRxqyjwR9HOeKXYsKgpNZ9zds96U7VlMocuJwizeR1TqEgBihZiF3kZO/lqX8c9BbTbgy3hdNH+lmyY5Jqnv45tU5cBBHnBesa/JsAF4CY3Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Wed, 06 Apr 2022 13:32:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Eliminate hard tabs. While there also cast to the intended type.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- 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 */




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.