Re: [PATCH] kernel/locking: mutex: simplify access to the firstentry in the wait-list

From: Ingo Molnar
Date: Thu Dec 12 2013 - 07:46:37 EST



* Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxx> wrote:

> Use list_first_entry instead of explicitly accessing the first entry
> with "head".next. The comment one line above becomes obsolete.
>
> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <andrzej.p@xxxxxxxxxxx>

that signoff sequence looks bogus - the first SOB should be the
author, the last SOB the person sending the patch. If you want to
credit someone please do it elsewhere in the changelog.

Thanks,

Ingo
--
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/