ACPICA: Clean up whitespace of indentation
Subsystems (2)
PATCH 1/1 ACPICA: Clean up whitespace of indentation
Use tabs (not spaces) for indentation.
--- include/acpi/actbl1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/acpi/actbl1.h +2 -2
@@ -1438,9 +1438,9 @@ struct acpi_srat_mem_affinity {u16 reserved;/* Reserved, must be zero */ u64 base_address;u64 length; -u32 reserved1; +u32 reserved1;u32 flags; -u64 reserved2;/* Reserved, must be zero */ +u64 reserved2;/* Reserved, must be zero */ };/* Flags */
Signature · 1 line
2.5.5
PING!
Quoted 26 lines · Baoquan He
Use tabs (not spaces) for indentation.
Signed-off-by Baoquan He <[email protected]>--- include/acpi/actbl1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/acpi/actbl1.h +2
-2@@ -1438,9 +1438,9 @@ struct acpi_srat_mem_affinity {u16 reserved;/* Reserved, must be zero */ u64 base_address;u64 length; -u32 reserved1; +u32 reserved1;u32 flags; -u64 reserved2;/* Reserved, must be zero */ +u64 reserved2;/* Reserved, must be zero */ };/* Flags */ Signature · 1 line
2.5.5
Anything like this probably happens during the conversion of ACPICA code to Linux-style code. This conversion happens after every release (monthly) of ACPICA.
Specifically indent/lindent seems to do things like this, if I remember correctly.
Quoted 37 lines
-----Original Message-----
From: Baoquan He [mailto:[email protected]]
Sent: Tuesday, November 7, 2017 2:43 AM
To: [email protected]; [email protected]
Cc: [email protected]; [email protected]; Moore, Robert <[email protected]>; Zheng, Lv <[email protected]>
Subject: Re: [PATCH] ACPICA: Clean up whitespace of indentationPING!
Quoted 26 lines · Baoquan He
Use tabs (not spaces) for indentation.
Signed-off-by Baoquan He <[email protected]>--- include/acpi/actbl1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/acpi/actbl1.h index renamed from include/acpi/actbl1.h +0
-0
6b8714a428b6..d8a4fc066abe100644include/acpi/actbl1.h +2
-3@@ -1438,9 +1438,9 @@ struct acpi_srat_mem_affinity {u16 reserved;/* Reserved, must be zero */ u64 base_address;u64 length; -u32 reserved1; +u32 reserved1;u32 flags; -u64 reserved2;/* Reserved, must be zero */ +u64 reserved2;/* Reserved, must be zero */ };/* Flags */ --2.5.5
Quoted 3 lines · Robert
Anything like this probably happens during the conversion of ACPICA code to Linux-style code. This conversion happens after every release (monthly) of ACPICA.
Specifically indent/lindent seems to do things like this, if I remember correctly.
I found it when went through system init code, it was introduced in this commit and looks very obvious:
commit 19d0cfe9ddfdf7afa8d1765ab0bd2a7dd30e47c9
Author: Bob Moore <[email protected]> Date: Tue Jun 10 15:54:40 2008 +0800
ACPICA: Update DMAR and SRAT table definitions
If there has been a mechanism to check them, I am fine to leave it as is or the tools like lindent to deal with it.
Thanks
Baoquan
Quoted 38 lines
Quoted 38 lines
-----Original Message-----
From: Baoquan He [mailto:[email protected]]
Sent: Tuesday, November 7, 2017 2:43 AM
To: [email protected]; [email protected]
Cc: [email protected]; [email protected]; Moore, Robert <[email protected]>; Zheng, Lv <[email protected]>
Subject: Re: [PATCH] ACPICA: Clean up whitespace of indentationPING!
Quoted 26 lines · Baoquan He
Use tabs (not spaces) for indentation.
Signed-off-by Baoquan He <[email protected]>--- include/acpi/actbl1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/acpi/actbl1.h index renamed from include/acpi/actbl1.h +0
-0
6b8714a428b6..d8a4fc066abe100644include/acpi/actbl1.h +2
-3@@ -1438,9 +1438,9 @@ struct acpi_srat_mem_affinity {u16 reserved;/* Reserved, must be zero */ u64 base_address;u64 length; -u32 reserved1; +u32 reserved1;u32 flags; -u64 reserved2;/* Reserved, must be zero */ +u64 reserved2;/* Reserved, must be zero */ };/* Flags */ --2.5.5