2018-11-05 14:40:53

by David Abdurachmanov

[permalink] [raw]
Subject: [PATCH] riscv: fix spacing in struct pt_regs

Replace 8 spaces with tab to match styling.

Signed-off-by: David Abdurachmanov <[email protected]>
---
arch/riscv/include/asm/ptrace.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/include/asm/ptrace.h b/arch/riscv/include/asm/ptrace.h
index 2c5df945d43c..bbe1862e8f80 100644
--- a/arch/riscv/include/asm/ptrace.h
+++ b/arch/riscv/include/asm/ptrace.h
@@ -56,8 +56,8 @@ struct pt_regs {
unsigned long sstatus;
unsigned long sbadaddr;
unsigned long scause;
- /* a0 value before the syscall */
- unsigned long orig_a0;
+ /* a0 value before the syscall */
+ unsigned long orig_a0;
};

#ifdef CONFIG_64BIT
--
2.19.1



2018-11-07 00:38:03

by Palmer Dabbelt

[permalink] [raw]
Subject: Re: [PATCH] riscv: fix spacing in struct pt_regs

On Mon, 05 Nov 2018 06:40:04 PST (-0800), [email protected] wrote:
> Replace 8 spaces with tab to match styling.
>
> Signed-off-by: David Abdurachmanov <[email protected]>
> ---
> arch/riscv/include/asm/ptrace.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/riscv/include/asm/ptrace.h b/arch/riscv/include/asm/ptrace.h
> index 2c5df945d43c..bbe1862e8f80 100644
> --- a/arch/riscv/include/asm/ptrace.h
> +++ b/arch/riscv/include/asm/ptrace.h
> @@ -56,8 +56,8 @@ struct pt_regs {
> unsigned long sstatus;
> unsigned long sbadaddr;
> unsigned long scause;
> - /* a0 value before the syscall */
> - unsigned long orig_a0;
> + /* a0 value before the syscall */
> + unsigned long orig_a0;
> };
>
> #ifdef CONFIG_64BIT

Thanks. I'll also include this for next week's PR.