From 807c6129cb854f44f3d32e80348d8ece9a4d198c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 11 May 2016 00:03:12 +0000 Subject: [PATCH] exit_thread-accept-a-task-parameter-to-be-exited-checkpatch-fixes WARNING: space prohibited between function name and open parenthesis '(' #242: FILE: arch/ia64/kernel/process.c:577: +exit_thread (struct task_struct *tsk) WARNING: braces {} are not necessary for single statement blocks #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 Signed-off-by: Andrew Morton --- arch/sh/kernel/process_64.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index bfd3855fe120bb..9d3e9916555ded 100644 --- a/arch/sh/kernel/process_64.c +++ b/arch/sh/kernel/process_64.c @@ -307,9 +307,8 @@ void exit_thread(struct task_struct *tsk) * which it would get safely nulled. */ #ifdef CONFIG_SH_FPU - if (last_task_used_math == tsk) { + if (last_task_used_math == tsk) last_task_used_math = NULL; - } #endif }