diff mbox

actbl1.h: use tab instead of seven spaces as the indentation

Message ID 20170822101845.18468-1-fanc.fnst@cn.fujitsu.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Chao Fan Aug. 22, 2017, 10:18 a.m. UTC
The indentation of these two lines is seven spaces, but not tab.
So fix it.

Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
---
 include/acpi/actbl1.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Lv Zheng Aug. 23, 2017, 3:43 a.m. UTC | #1
Hi,

> From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-owner@vger.kernel.org] On Behalf Of Chao Fan
> Subject: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation
> 
> The indentation of these two lines is seven spaces, but not tab.
> So fix it.
> 
> Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
> ---
>  include/acpi/actbl1.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
> index b4ce55c008b0..d13e5b416a7e 100644
> --- a/include/acpi/actbl1.h
> +++ b/include/acpi/actbl1.h
> @@ -1223,9 +1223,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 */
> --

You needn't do this manually.
An indentation fix commit can be easily and automatically generated by ACPICA linuxize script - divergence.sh.
See Documentation/acpi/linuxized-acpica.txt for detailed information.

Thanks
Lv
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Chao Fan Aug. 23, 2017, 3:50 a.m. UTC | #2
On Wed, Aug 23, 2017 at 03:43:33AM +0000, Zheng, Lv wrote:
>Hi,
>
>> From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-owner@vger.kernel.org] On Behalf Of Chao Fan
>> Subject: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation
>> 
>> The indentation of these two lines is seven spaces, but not tab.
>> So fix it.
>> 
>> Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
>> ---
>>  include/acpi/actbl1.h | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> 
>> diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
>> index b4ce55c008b0..d13e5b416a7e 100644
>> --- a/include/acpi/actbl1.h
>> +++ b/include/acpi/actbl1.h
>> @@ -1223,9 +1223,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 */
>> --
>
Hi Lv,

Thank you for your reply.

>You needn't do this manually.

OK, I got it.

>An indentation fix commit can be easily and automatically generated by ACPICA linuxize script - divergence.sh.
>See Documentation/acpi/linuxized-acpica.txt for detailed information.

I will see that.

Thanks,
Chao Fan

>
>Thanks
>Lv
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index b4ce55c008b0..d13e5b416a7e 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/actbl1.h
@@ -1223,9 +1223,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 */