mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ipc/sem.c: fix small codingstyle
@ 2013-10-15  8:19 Libin
  2013-10-15 16:44 ` Davidlohr Bueso
  0 siblings, 1 reply; 6+ messages in thread
From: Libin @ 2013-10-15  8:19 UTC (permalink / raw)
  To: davidlohr, akpm, manfred; +Cc: linux-kernel, guohanjun, xiexiuqi, huawei.libin

From: Li Bin <huawei.libin@huawei.com>

small codingstyle fix: '*' should be adjacent to the data name.

Signed-off-by: Li Bin <huawei.libin@huawei.com>
---
 ipc/sem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipc/sem.c b/ipc/sem.c
index 8c4f59b..7583fe8 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -2077,7 +2077,7 @@ void exit_sem(struct task_struct *tsk)
 
 		/* perform adjustments registered in un */
 		for (i = 0; i < sma->sem_nsems; i++) {
-			struct sem * semaphore = &sma->sem_base[i];
+			struct sem *semaphore = &sma->sem_base[i];
 			if (un->semadj[i]) {
 				semaphore->semval += un->semadj[i];
 				/*
-- 
1.8.2.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-16 17:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15  8:19 [PATCH] ipc/sem.c: fix small codingstyle Libin
2013-10-15 16:44 ` Davidlohr Bueso
2013-10-15 18:36   ` Joe Perches
2013-10-16  8:39     ` Manfred Spraul
2013-10-16 16:50       ` Davidlohr Bueso
2013-10-16 17:17         ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®