Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1718013

RE: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation

From "Zheng, Lv" <lv.zheng@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation
Date 2017-08-23 05:50 +0200
Message-ID <uhuQ1-3KW-11@gated-at.bofh.it> (permalink)
References <uherU-X8-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[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

csiph-web