[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1381855484.2354.0.camel@buesod1.americas.hpqcorp.net>
Date: Tue, 15 Oct 2013 09:44:44 -0700
From: Davidlohr Bueso <davidlohr@...com>
To: Libin <huawei.libin@...wei.com>
Cc: akpm@...ux-foundation.org, manfred@...orfullife.com,
linux-kernel@...r.kernel.org, guohanjun@...wei.com,
xiexiuqi@...wei.com
Subject: Re: [PATCH] ipc/sem.c: fix small codingstyle
On Tue, 2013-10-15 at 16:19 +0800, Libin wrote:
> From: Li Bin <huawei.libin@...wei.com>
>
> small codingstyle fix: '*' should be adjacent to the data name.
There are *tons* of these, go crazy.
>
> Signed-off-by: Li Bin <huawei.libin@...wei.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];
> /*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists