lkml.org 
[lkml]   [2022]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] posix-timers: Resolve some coding specification issues about spaces
Date
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
\
 
 \ /
  Last update: 2022-08-02 13:53    [W:0.044 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site