Skip to content

Commit 93b4eac

Browse files
akpm00sfrothwell
authored andcommitted
exit_thread-accept-a-task-parameter-to-be-exited-checkpatch-fixes
WARNING: space prohibited between function name and open parenthesis '(' raspberrypi#242: FILE: arch/ia64/kernel/process.c:577: +exit_thread (struct task_struct *tsk) WARNING: braces {} are not necessary for single statement blocks raspberrypi#331: FILE: arch/sh/kernel/process_64.c:310: + if (last_task_used_math == tsk) { last_task_used_math = NULL; } total: 0 errors, 2 warnings, 231 lines checked ./patches/exit_thread-accept-a-task-parameter-to-be-exited.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent f8141ee commit 93b4eac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/sh/kernel/process_64.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,8 @@ void exit_thread(struct task_struct *tsk)
307307
* which it would get safely nulled.
308308
*/
309309
#ifdef CONFIG_SH_FPU
310-
if (last_task_used_math == tsk) {
310+
if (last_task_used_math == tsk)
311311
last_task_used_math = NULL;
312-
}
313312
#endif
314313
}
315314

0 commit comments

Comments
 (0)