netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: weiyj.lk@gmail.com
Cc: Yuval.Mintz@qlogic.com, Ariel.Elior@qlogic.com,
	weiyongjun1@huawei.com, everest-linux-l2@qlogic.com,
	netdev@vger.kernel.org
Subject: Re: [PATCH v2] qed: Fix to use list_for_each_entry_safe() when delete items
Date: Thu, 13 Oct 2016 09:58:02 -0400 (EDT)	[thread overview]
Message-ID: <20161013.095802.1988627112670234693.davem@davemloft.net> (raw)
In-Reply-To: <1476108508-14376-1-git-send-email-weiyj.lk@gmail.com>

From: Wei Yongjun <weiyj.lk@gmail.com>
Date: Mon, 10 Oct 2016 14:08:28 +0000

> From: Wei Yongjun <weiyongjun1@huawei.com>
> 
> Since we will remove items off the list using list_del() we need
> to use a safe version of the list_for_each_entry() macro aptly named
> list_for_each_entry_safe().
> 
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> Acked-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com>
> ---
> v1 -> v2: use tmp_buffer instead of tmp

Applied, thanks.

  reply	other threads:[~2016-10-13 13:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-09 13:32 [PATCH] qed: Fix to use list_for_each_entry_safe() when delete items Wei Yongjun
2016-10-09 13:44 ` Mintz, Yuval
2016-10-10 14:08 ` [PATCH v2] " Wei Yongjun
2016-10-13 13:58   ` David Miller [this message]
2016-10-13 13:47 ` [PATCH] " David Miller
2016-10-13 14:14   ` Mintz, Yuval
2016-10-13 14:40     ` David Miller

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=20161013.095802.1988627112670234693.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=Ariel.Elior@qlogic.com \
    --cc=Yuval.Mintz@qlogic.com \
    --cc=everest-linux-l2@qlogic.com \
    --cc=netdev@vger.kernel.org \
    --cc=weiyj.lk@gmail.com \
    --cc=weiyongjun1@huawei.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).