fs: Remove unneeded semicolon
Subsystems (2)
PATCH 1/1 fs: Remove unneeded semicolon
./fs/proc/base.c:3829:2-3: Unneeded semicolon
--- fs/proc/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/base.c +1 -1
@@ -3826,7 +3826,7 @@ static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos,for_each_thread (task, pos) {if (!nr--) goto found; - }; + } fail: pos =NULL ; goto out;
Signature · 1 line
2.20.1.7.g153144c
fs/proc/base.c static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, · line 3829
Quoted 7 lines · Yang Li
fs/proc/base.c +1
-1@@ -3826,7 +3826,7 @@ static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos,for_each_thread (task, pos) {if (!nr--) goto found; - }; + }
Ah, I forgot to remove this semicolon :/
This is on top of
document-while_each_thread-change-first_tid-to-use-for_each_thread.patch
perhaps this cleanup can be folded into the patch above along with Yang's sob ?
If Yang doesn't object.
Oleg.
Quoted 11 lines · On Thu, 26 Oct 2023 17:03:35 +0200 Oleg Nesterov <[email protected]> wrote:
fs/proc/base.c static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, · line 3829
Quoted 7 lines · Yang Li
fs/proc/base.c +1
-1@@ -3826,7 +3826,7 @@ static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos,for_each_thread (task, pos) {if (!nr--) goto found; - }; + }Ah, I forgot to remove this semicolon :/
Quoted 5 lines
This is on top of
document-while_each_thread-change-first_tid-to-use-for_each_thread.patch
perhaps this cleanup can be folded into the patch above along with Yang's sob ?
The above is in mainline, so no squashing. I added your acked-by.