proc: Trivial brace balancing
PATCH 1/1 proc: Trivial brace balancing
As suggested by Documentation/CodingStyle right before section 3.1: Spaces, use braces on all branches of a conditional statement if they are used on any branch. No functional changes.
Signed-off-by Christopher Covington <[email protected]>
--- fs/proc/array.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/proc/array.c +2 -1
@@ -552,8 +552,9 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns,seq_put_decimal_ull (m," " , mm->arg_end);seq_put_decimal_ull (m," " , mm->env_start);seq_put_decimal_ull (m," " , mm->env_end); - }else + }else {seq_puts (m," 0 0 0 0 0 0 0" ); + }if (permitted)seq_put_decimal_ll (m," " , task->exit_code);
Signature · 3 lines
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
fs/proc/array.c static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, · line 557
Quoted 4 lines · Christopher Covington
fs/proc/array.c +2
-1- }else + }else {seq_puts (m," 0 0 0 0 0 0 0" ); + }
Oh, come on, people.