Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1486793
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] power: ab8500: cleanup with list_first_entry_or_null() |
| Date | 2016-09-19 21:30 +0200 |
| Message-ID | <sjcqm-149-41@gated-at.bofh.it> (permalink) |
| References | <sgE9r-6Zj-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, On Tue, Sep 13, 2016 at 03:23:21AM +0900, Masahiro Yamada wrote: > 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> Thanks, queued. -- Sebastian
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] power: ab8500: cleanup with list_first_entry_or_null() Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-12 20:30 +0200 Re: [PATCH] power: ab8500: cleanup with list_first_entry_or_null() Sebastian Reichel <sre@kernel.org> - 2016-09-19 21:30 +0200
csiph-web