2022-05-23 06:00:58

by FanJun Kong

[permalink] [raw]
Subject: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.

From: Fanjun Kong <[email protected]>

This patch fixes two coding style issues:
1. Clean up indentation, replace spaces with tab
2. Add space after ','

Signed-off-by: Fanjun Kong <[email protected]>
---
kernel/sysctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e52b6e372c60..de8da34e02a5 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1277,8 +1277,8 @@ int proc_dointvec_jiffies(struct ctl_table *table, int write,
int proc_dointvec_userhz_jiffies(struct ctl_table *table, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{
- return do_proc_dointvec(table,write,buffer,lenp,ppos,
- do_proc_dointvec_userhz_jiffies_conv,NULL);
+ return do_proc_dointvec(table, write, buffer, lenp, ppos,
+ do_proc_dointvec_userhz_jiffies_conv, NULL);
}

/**
--
2.36.0



2022-06-09 14:19:22

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.

On Sun, May 22, 2022 at 01:29:33PM +0800, [email protected] wrote:
> From: Fanjun Kong <[email protected]>
>
> This patch fixes two coding style issues:
> 1. Clean up indentation, replace spaces with tab
> 2. Add space after ','
>
> Signed-off-by: Fanjun Kong <[email protected]>

Queued up to sysctl-next, thanks!

Luis

2022-06-18 09:23:07

by Fanjun Kong

[permalink] [raw]
Subject: Re: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.

Hi maintainer,

Could you help to review this patch?

Thanks so much.

On 22 May 22 ◦ 13:29, [email protected] wrote:
> From: Fanjun Kong <[email protected]>
>
> This patch fixes two coding style issues:
> 1. Clean up indentation, replace spaces with tab
> 2. Add space after ','
>
> Signed-off-by: Fanjun Kong <[email protected]>
> ---
> kernel/sysctl.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index e52b6e372c60..de8da34e02a5 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -1277,8 +1277,8 @@ int proc_dointvec_jiffies(struct ctl_table *table, int write,
> int proc_dointvec_userhz_jiffies(struct ctl_table *table, int write,
> void *buffer, size_t *lenp, loff_t *ppos)
> {
> - return do_proc_dointvec(table,write,buffer,lenp,ppos,
> - do_proc_dointvec_userhz_jiffies_conv,NULL);
> + return do_proc_dointvec(table, write, buffer, lenp, ppos,
> + do_proc_dointvec_userhz_jiffies_conv, NULL);
> }
>
> /**
> --
> 2.36.0
>

2022-06-18 10:16:24

by Fanjun Kong

[permalink] [raw]
Subject: Re: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.

On 18 6月 22 ◦ 17:15, Fanjun Kong wrote:
> Hi maintainer,
>
> Could you help to review this patch?
I am so sorry for my last email, I have not noticed Luis has already helped
me because I just switch my email from gmail to linux.dev.

Best wishes.

>
> Thanks so much.
>
> On 22 May 22 ◦ 13:29, [email protected] wrote:
> > From: Fanjun Kong <[email protected]>
> >
> > This patch fixes two coding style issues:
> > 1. Clean up indentation, replace spaces with tab
> > 2. Add space after ','
> >
> > Signed-off-by: Fanjun Kong <[email protected]>
> > ---
> > kernel/sysctl.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> > index e52b6e372c60..de8da34e02a5 100644
> > --- a/kernel/sysctl.c
> > +++ b/kernel/sysctl.c
> > @@ -1277,8 +1277,8 @@ int proc_dointvec_jiffies(struct ctl_table *table, int write,
> > int proc_dointvec_userhz_jiffies(struct ctl_table *table, int write,
> > void *buffer, size_t *lenp, loff_t *ppos)
> > {
> > - return do_proc_dointvec(table,write,buffer,lenp,ppos,
> > - do_proc_dointvec_userhz_jiffies_conv,NULL);
> > + return do_proc_dointvec(table, write, buffer, lenp, ppos,
> > + do_proc_dointvec_userhz_jiffies_conv, NULL);
> > }
> >
> > /**
> > --
> > 2.36.0
> >