lkml.org 
[lkml]   [2010]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 20/66] arch/cris/include/asm/current.h: Checkpatch cleanup
Date
arch/cris/include/asm/current.h:8: ERROR: "foo * bar" should be "foo *bar"
arch/cris/include/asm/current.h:10: ERROR: code indent should use tabs where possible
arch/cris/include/asm/current.h:12: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/cris/include/asm/current.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/cris/include/asm/current.h b/arch/cris/include/asm/current.h
index 5f5c0ef..e846834 100644
--- a/arch/cris/include/asm/current.h
+++ b/arch/cris/include/asm/current.h
@@ -5,11 +5,11 @@

struct task_struct;

-static inline struct task_struct * get_current(void)
+static inline struct task_struct *get_current(void)
{
- return current_thread_info()->task;
+ return current_thread_info()->task;
}
-
+
#define current get_current()

#endif /* !(_CRIS_CURRENT_H) */
--
1.7.0.90.g251a4


\
 
 \ /
  Last update: 2010-02-27 17:57    [W:0.223 / U:1.276 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site