From 0974d71bcd280afd6a982d1beca75a08a222590f Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 26 Jul 2011 20:14:33 +1000 Subject: [PATCH] WARNING: line over 80 characters #37: FILE: arch/cris/include/asm/thread_info.h:70: +#define alloc_thread_info_node(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) ERROR: space required after that ',' (ctx:VxV) #37: FILE: arch/cris/include/asm/thread_info.h:70: +#define alloc_thread_info_node(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) ^ total: 1 errors, 1 warnings, 18 lines checked ./patches/cris-fix-a-build-error-in-kernel-forkc.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: WANG Cong Signed-off-by: Andrew Morton --- arch/cris/include/asm/thread_info.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/cris/include/asm/thread_info.h b/arch/cris/include/asm/thread_info.h index d5a7b4fc5740..332f19c54557 100644 --- a/arch/cris/include/asm/thread_info.h +++ b/arch/cris/include/asm/thread_info.h @@ -67,7 +67,8 @@ struct thread_info { #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR /* thread information allocation */ -#define alloc_thread_info_node(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) +#define alloc_thread_info_node(tsk, node) \ + ((struct thread_info *) __get_free_pages(GFP_KERNEL, 1)) #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) #endif /* !__ASSEMBLY__ */ -- 2.39.5