From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: Swathi Kovvuri <swathi.kovvuri@intel.com>, dmaengine@vger.kernel.org
Subject: Re: [PATCH v2] dmaengine: check device and channel list for empty
Date: Thu, 2 Jul 2020 19:06:56 +0530 [thread overview]
Message-ID: <20200702133656.GF273932@vkoul-mobl> (raw)
In-Reply-To: <159319496403.69045.16298280729899651363.stgit@djiang5-desk3.ch.intel.com>
On 26-06-20, 11:09, Dave Jiang wrote:
> Check dma device list and channel list for empty before iterate as the
> iteration function assume the list to be not empty. With devices and
> channels now being hot pluggable this is a condition that needs to be
> checked. Otherwise it can cause the iterator to spin forever.
Applied, thanks
--
~Vinod
next prev parent reply other threads:[~2020-07-02 13:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-26 18:09 [PATCH v2] dmaengine: check device and channel list for empty Dave Jiang
2020-07-02 13:36 ` Vinod Koul [this message]
2020-07-07 6:05 ` Jiri Slaby
2020-07-07 8:50 ` Peter Ujfalusi
2020-07-07 15:45 ` Dave Jiang
2020-07-07 15:42 ` Dave Jiang
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=20200702133656.GF273932@vkoul-mobl \
--to=vkoul@kernel.org \
--cc=dave.jiang@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=swathi.kovvuri@intel.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;
as well as URLs for NNTP newsgroup(s).