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

bh1scw@gmail.com posted 1 patch 3 years, 11 months ago
kernel/sysctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.
Posted by bh1scw@gmail.com 3 years, 11 months ago
From: Fanjun Kong <bh1scw@gmail.com>

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

Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
---
 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
Re: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.
Posted by Fanjun Kong 3 years, 10 months ago
Hi maintainer,

Could you help to review this patch? 

Thanks so much.

On 22 May 22 ◦ 13:29, bh1scw@gmail.com wrote:
> From: Fanjun Kong <bh1scw@gmail.com>
> 
> This patch fixes two coding style issues:
> 1. Clean up indentation, replace spaces with tab
> 2. Add space after ','
> 
> Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
> ---
>  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
> 
Re: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.
Posted by Fanjun Kong 3 years, 10 months ago
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, bh1scw@gmail.com wrote:
> > From: Fanjun Kong <bh1scw@gmail.com>
> > 
> > This patch fixes two coding style issues:
> > 1. Clean up indentation, replace spaces with tab
> > 2. Add space after ','
> > 
> > Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
> > ---
> >  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
> > 
Re: [PATCH] kernel/sysctl.c: Clean up indentation, replace spaces with tab.
Posted by Luis Chamberlain 3 years, 11 months ago
On Sun, May 22, 2022 at 01:29:33PM +0800, bh1scw@gmail.com wrote:
> From: Fanjun Kong <bh1scw@gmail.com>
> 
> This patch fixes two coding style issues:
> 1. Clean up indentation, replace spaces with tab
> 2. Add space after ','
> 
> Signed-off-by: Fanjun Kong <bh1scw@gmail.com>

Queued up to sysctl-next, thanks!

  Luis