lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220802115305.1103-1-liutie4@huawei.com>
Date:   Tue, 2 Aug 2022 19:53:05 +0800
From:   Tie Liu <liutie4@...wei.com>
To:     <tglx@...utronix.de>
CC:     <linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <hewenliang4@...wei.com>, <linfeilong@...wei.com>
Subject: [PATCH] posix-timers: Resolve some coding specification issues about spaces

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

Signed-off-by: Liu Tie <liutie4@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ