Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1717264 > unrolled thread
| Started by | Chao Fan <fanc.fnst@cn.fujitsu.com> |
|---|---|
| First post | 2017-08-22 12:20 +0200 |
| Last post | 2017-08-23 06:00 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] actbl1.h: use tab instead of seven spaces as the indentation Chao Fan <fanc.fnst@cn.fujitsu.com> - 2017-08-22 12:20 +0200
RE: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation "Zheng, Lv" <lv.zheng@intel.com> - 2017-08-23 05:50 +0200
Re: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation Chao Fan <fanc.fnst@cn.fujitsu.com> - 2017-08-23 06:00 +0200
| From | Chao Fan <fanc.fnst@cn.fujitsu.com> |
|---|---|
| Date | 2017-08-22 12:20 +0200 |
| Subject | [PATCH] actbl1.h: use tab instead of seven spaces as the indentation |
| Message-ID | <uherU-X8-5@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | "Zheng, Lv" <lv.zheng@intel.com> |
|---|---|
| Date | 2017-08-23 05:50 +0200 |
| Subject | RE: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation |
| Message-ID | <uhuQ1-3KW-11@gated-at.bofh.it> |
| In reply to | #1717264 |
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
[toc] | [prev] | [next] | [standalone]
| From | Chao Fan <fanc.fnst@cn.fujitsu.com> |
|---|---|
| Date | 2017-08-23 06:00 +0200 |
| Subject | Re: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation |
| Message-ID | <uhuZI-3O3-3@gated-at.bofh.it> |
| In reply to | #1718013 |
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
>
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web