All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] POSIX TIMER: coding style: no space between asterisk and variable name
@ 2007-11-05  3:15 Li Zefan
  0 siblings, 0 replies; only message in thread
From: Li Zefan @ 2007-11-05  3:15 UTC (permalink / raw)
  To: tglx; +Cc: LKML

Here we delete the space between '*' and the following variable/function
name.

Signed-off-by Li Zefan <lizf@cn.fujitsu.com>

---
 include/linux/posix-timers.h |   16 ++++++++--------
 kernel/posix-timers.c        |    8 ++++----
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h
index a7dd38f..83adff7 100644
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -67,19 +67,19 @@ struct k_itimer {
 struct k_clock {
 	int res;		/* in nanoseconds */
 	int (*clock_getres) (const clockid_t which_clock, struct timespec *tp);
-	int (*clock_set) (const clockid_t which_clock, struct timespec * tp);
-	int (*clock_get) (const clockid_t which_clock, struct timespec * tp);
+	int (*clock_set) (const clockid_t which_clock, struct timespec *tp);
+	int (*clock_get) (const clockid_t which_clock, struct timespec *tp);
 	int (*timer_create) (struct k_itimer *timer);
 	int (*nsleep) (const clockid_t which_clock, int flags,
 		       struct timespec *, struct timespec __user *);
 	long (*nsleep_restart) (struct restart_block *restart_block);
-	int (*timer_set) (struct k_itimer * timr, int flags,
-			  struct itimerspec * new_setting,
-			  struct itimerspec * old_setting);
-	int (*timer_del) (struct k_itimer * timr);
+	int (*timer_set) (struct k_itimer *timr, int flags,
+			  struct itimerspec *new_setting,
+			  struct itimerspec *old_setting);
+	int (*timer_del) (struct k_itimer *timr);
 #define TIMER_RETRY 1
-	void (*timer_get) (struct k_itimer * timr,
-			   struct itimerspec * cur_setting);
+	void (*timer_get) (struct k_itimer *timr,
+			   struct itimerspec *cur_setting);
 };
 
 void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock);
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index f1461f8..1c4c04c 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -398,7 +398,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
 	return ret;
 }
 
-static struct task_struct * good_sigevent(sigevent_t * event)
+static struct task_struct *good_sigevent(sigevent_t *event)
 {
 	struct task_struct *rtn = current->group_leader;
 
@@ -427,7 +427,7 @@ void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock)
 }
 EXPORT_SYMBOL_GPL(register_posix_clock);
 
-static struct k_itimer * alloc_posix_timer(void)
+static struct k_itimer *alloc_posix_timer(void)
 {
 	struct k_itimer *tmr;
 	tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL);
@@ -462,7 +462,7 @@ static void release_posix_timer(struct k_itimer *tmr, int it_id_set)
 asmlinkage long
 sys_timer_create(const clockid_t which_clock,
 		 struct sigevent __user *timer_event_spec,
-		 timer_t __user * created_timer_id)
+		 timer_t __user *created_timer_id)
 {
 	int error = 0;
 	struct k_itimer *new_timer = NULL;
@@ -593,7 +593,7 @@ out:
  * the find to the timer lock.  To avoid a dead lock, the timer id MUST
  * be release with out holding the timer lock.
  */
-static struct k_itimer * lock_timer(timer_t timer_id, unsigned long *flags)
+static struct k_itimer *lock_timer(timer_t timer_id, unsigned long *flags)
 {
 	struct k_itimer *timr;
 	/*
-- 
1.5.3.rc7


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-05  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05  3:15 [PATCH 2/2] POSIX TIMER: coding style: no space between asterisk and variable name Li Zefan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.