Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483291

Re: [PATCH] dmaengine: cleanup with list_first_entry_or_null()

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] dmaengine: cleanup with list_first_entry_or_null()
Date 2016-09-14 15:40 +0200
Message-ID <shizU-1s7-11@gated-at.bofh.it> (permalink)
References <sgDQ5-6NR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 13, 2016 at 03:08:17AM +0900, Masahiro Yamada wrote:
> The combo of list_empty() check and return list_first_entry()
> can be replaced with list_first_entry_or_null().

Applied, thanks

In future please do split this per driver, that helps..

-- 
~Vinod

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] dmaengine: cleanup with list_first_entry_or_null() Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-12 20:10 +0200
  Re: [PATCH] dmaengine: cleanup with list_first_entry_or_null() Linus Walleij <linus.walleij@linaro.org> - 2016-09-13 13:50 +0200
  Re: [PATCH] dmaengine: cleanup with list_first_entry_or_null() Vinod Koul <vinod.koul@intel.com> - 2016-09-14 15:40 +0200

csiph-web