From: Eric Anholt <eric@anholt.net>
To: Masahiro Yamada <yamada.masahiro@socionext.com>,
David Airlie <airlied@linux.ie>,
"open list\:DRM DRIVERS" <dri-devel@lists.freedesktop.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/vc4: cleanup with list_first_entry_or_null()
Date: Wed, 14 Sep 2016 10:44:51 +0100 [thread overview]
Message-ID: <87wpieolws.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <1473705320-6046-1-git-send-email-yamada.masahiro@socionext.com>
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
Masahiro Yamada <yamada.masahiro@socionext.com> writes:
> The combo of list_empty() check and return list_first_entry()
> can be replaced with list_first_entry_or_null().
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
That's a nice little cleanup. Applied to -next. Thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
prev parent reply other threads:[~2016-09-14 10:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 18:35 [PATCH] drm/vc4: cleanup with list_first_entry_or_null() Masahiro Yamada
2016-09-14 9:44 ` Eric Anholt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpieolws.fsf@eliezer.anholt.net \
--to=eric@anholt.net \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox