kernel/sysysctl.c: Remove trailing white space
Subsystems (2)
PATCH 1/1 kernel/sysysctl.c: Remove trailing white space
From: Fanjun Kong <[email protected]>
This patch removes the trailing white space in kernel/sysysctl.c Special thanks to Muchun Song.
Signed-off-by Fanjun Kong <[email protected]>
--- kernel/sysctl.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
kernel/sysctl.c +8 -8
@@ -492,12 +492,12 @@ static int __do_proc_dointvec(void *tbl_data, struct ctl_table *table,int *i, vleft, first =1 , err =0 ;size_t left;char *p; - +if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { *lenp =0 ;return 0 ; } - + i = (int *) tbl_data; vleft = table->maxlen /sizeof (*i); left = *lenp;
@@ -729,7 +729,7 @@ int proc_dobool(struct ctl_table *table, int write, void *buffer,* @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer -* values from/to the user buffer, treated as an ASCII string. +* values from/to the user buffer, treated as an ASCII string. * * Returns 0 on success. */
@@ -1246,7 +1246,7 @@ static int do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp,* @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer -* values from/to the user buffer, treated as an ASCII string. +* values from/to the user buffer, treated as an ASCII string. * The values read are assumed to be in seconds, and are converted into * jiffies. *
@@ -1268,8 +1268,8 @@ int proc_dointvec_jiffies(struct ctl_table *table, int write,* @ppos: pointer to the file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer -* values from/to the user buffer, treated as an ASCII string. -* The values read are assumed to be in 1/USER_HZ seconds, and +* values from/to the user buffer, treated as an ASCII string. +* The values read are assumed to be in 1/USER_HZ seconds, and * are converted into jiffies. * * Returns 0 on success.
@@ -1291,8 +1291,8 @@ int proc_dointvec_userhz_jiffies(struct ctl_table *table, int write,* @ppos: the current position in the file * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer -* values from/to the user buffer, treated as an ASCII string. -* The values read are assumed to be in 1/1000 seconds, and +* values from/to the user buffer, treated as an ASCII string. +* The values read are assumed to be in 1/1000 seconds, and * are converted into jiffies. * * Returns 0 on success.
Signature · 1 line
2.36.0
Quoted 7 lines · On Mon, May 16, 2022 at 5:08 PM <[email protected]> wrote:
From: Fanjun Kong <[email protected]>
This patch removes the trailing white space in
kernel/sysysctl.cSpecial thanks to Muchun Song.Signed-off-by Fanjun Kong <[email protected]>
Reviewed-by Muchun Song <[email protected]>
Thanks.
Luis Chamberlain
AppliedQuoted 6 lines · On Mon, May 16, 2022 at 05:07:53PM +0800, [email protected] wrote:
From: Fanjun Kong <[email protected]>
This patch removes the trailing white space in
kernel/sysysctl.cSpecial thanks to Muchun Song.Signed-off-by Fanjun Kong <[email protected]>
Queued thanks.
Luis