linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] actbl1.h: use tab instead of seven spaces as the indentation
@ 2017-08-22 10:18 Chao Fan
  2017-08-23  3:43 ` Zheng, Lv
  0 siblings, 1 reply; 3+ messages in thread
From: Chao Fan @ 2017-08-22 10:18 UTC (permalink / raw)
  To: linux-acpi, devel, linux-kernel
  Cc: robert.moore, lv.zheng, rafael.j.wysocki, lenb, Chao Fan

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation
  2017-08-22 10:18 [PATCH] actbl1.h: use tab instead of seven spaces as the indentation Chao Fan
@ 2017-08-23  3:43 ` Zheng, Lv
  2017-08-23  3:50   ` Chao Fan
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng, Lv @ 2017-08-23  3:43 UTC (permalink / raw)
  To: Chao Fan, linux-acpi, devel, linux-kernel
  Cc: Moore, Robert, Wysocki, Rafael J, lenb

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation
  2017-08-23  3:43 ` Zheng, Lv
@ 2017-08-23  3:50   ` Chao Fan
  0 siblings, 0 replies; 3+ messages in thread
From: Chao Fan @ 2017-08-23  3:50 UTC (permalink / raw)
  To: Zheng, Lv
  Cc: linux-acpi, devel, linux-kernel, Moore, Robert, Wysocki, Rafael J, lenb

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-23  3:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22 10:18 [PATCH] actbl1.h: use tab instead of seven spaces as the indentation Chao Fan
2017-08-23  3:43 ` Zheng, Lv
2017-08-23  3:50   ` Chao Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).