[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161013.095802.1988627112670234693.davem@davemloft.net>
Date: Thu, 13 Oct 2016 09:58:02 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: Yuval.Mintz@...gic.com, Ariel.Elior@...gic.com,
weiyongjun1@...wei.com, everest-linux-l2@...gic.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] qed: Fix to use list_for_each_entry_safe() when
delete items
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Mon, 10 Oct 2016 14:08:28 +0000
> From: Wei Yongjun <weiyongjun1@...wei.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@...wei.com>
> Acked-by: Yuval Mintz <Yuval.Mintz@...iumnetworks.com>
> ---
> v1 -> v2: use tmp_buffer instead of tmp
Applied, thanks.
Powered by blists - more mailing lists