All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] posix-timers: Resolve some coding specification issues about spaces
@ 2022-08-02 11:53 Tie Liu
  0 siblings, 0 replies; only message in thread
From: Tie Liu @ 2022-08-02 11:53 UTC (permalink / raw)
  To: tglx; +Cc: linux-doc, linux-kernel, hewenliang4, linfeilong

Some spaces were not used in accordance with current
encoding specifications, so I tried to modify them.

Signed-off-by: Liu Tie <liutie4@huawei.com>
---
 kernel/time/posix-timers.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index 5dead8930..ea9b24ee4 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -428,7 +428,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
 	return ret;
 }
 
-static struct pid *good_sigevent(sigevent_t * event)
+static struct pid *good_sigevent(sigevent_t *event)
 {
 	struct pid *pid = task_tgid(current);
 	struct task_struct *rtn;
@@ -452,7 +452,7 @@ static struct pid *good_sigevent(sigevent_t * event)
 	}
 }
 
-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);
@@ -1106,7 +1106,7 @@ SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock,
 	return error;
 }
 
-int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx)
+int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex *ktx)
 {
 	const struct k_clock *kc = clockid_to_kclock(which_clock);
 
-- 
2.27.0


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

only message in thread, other threads:[~2022-08-02 11:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 11:53 [PATCH] posix-timers: Resolve some coding specification issues about spaces Tie Liu

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.