Re: [PATCH] ipc/sem.c: fix small codingstyle

From: Davidlohr Bueso
Date: Tue Oct 15 2013 - 12:44:51 EST


On Tue, 2013-10-15 at 16:19 +0800, Libin wrote:
> From: Li Bin <huawei.libin@xxxxxxxxxx>
>
> small codingstyle fix: '*' should be adjacent to the data name.

There are *tons* of these, go crazy.

>
> Signed-off-by: Li Bin <huawei.libin@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/