RE: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-28 Thread weiyongjun (A)
> On Tue, Apr 25, 2017 at 07:57:57AM +, weiyongjun (A) wrote: > > > > > > > > Since we will remove items off the list using list_del() we need > > > > to use a safe version of the list_for_each() macro aptly named > > > > list_for_each_safe(). > > > > > > ah yes, god catch > > > > > > > This

RE: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-28 Thread weiyongjun (A)
> On Tue, Apr 25, 2017 at 07:57:57AM +, weiyongjun (A) wrote: > > > > > > > > Since we will remove items off the list using list_del() we need > > > > to use a safe version of the list_for_each() macro aptly named > > > > list_for_each_safe(). > > > > > > ah yes, god catch > > > > > > > This

RE: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-25 Thread weiyongjun (A)
a...@intel.com>; alsa- > de...@alsa-project.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use > list_for_each_safe() when delete items > > On Tue, Apr 25, 2017 at 07:57:57AM +, weiyongjun (A) wrote: > > > > > &

RE: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-25 Thread weiyongjun (A)
T Shah > ; Jeeja KP ; alsa- > de...@alsa-project.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use > list_for_each_safe() when delete items > > On Tue, Apr 25, 2017 at 07:57:57AM +, weiyongjun (A) wrote: > > > > >

Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-25 Thread Vinod Koul
On Tue, Apr 25, 2017 at 07:57:57AM +, weiyongjun (A) wrote: > > > > > > Since we will remove items off the list using list_del() we need > > > to use a safe version of the list_for_each() macro aptly named > > > list_for_each_safe(). > > > > ah yes, god catch > > > > > This is detected by

Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-25 Thread Vinod Koul
On Tue, Apr 25, 2017 at 07:57:57AM +, weiyongjun (A) wrote: > > > > > > Since we will remove items off the list using list_del() we need > > > to use a safe version of the list_for_each() macro aptly named > > > list_for_each_safe(). > > > > ah yes, god catch > > > > > This is detected by

RE: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-25 Thread weiyongjun (A)
ngj...@huawei.com>; alsa-de...@alsa-project.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use > list_for_each_safe() when delete items > > On Tue, Apr 25, 2017 at 03:28:17AM +, Wei Yongjun wrote: > > From: Wei Yongjun &

RE: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-25 Thread weiyongjun (A)
h > ; Jeeja KP ; weiyongjun (A) > ; alsa-de...@alsa-project.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use > list_for_each_safe() when delete items > > On Tue, Apr 25, 2017 at 03:28:17AM +, Wei Yongjun wrote: > > From: Wei Yo

Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-24 Thread Vinod Koul
On Tue, Apr 25, 2017 at 03:28:17AM +, Wei Yongjun wrote: > From: Wei Yongjun > > Since we will remove items off the list using list_del() we need > to use a safe version of the list_for_each() macro aptly named > list_for_each_safe(). ah yes, god catch > This is

Re: [PATCH -next] ASoC: Intel: Skylake: Fix to use list_for_each_safe() when delete items

2017-04-24 Thread Vinod Koul
On Tue, Apr 25, 2017 at 03:28:17AM +, Wei Yongjun wrote: > From: Wei Yongjun > > Since we will remove items off the list using list_del() we need > to use a safe version of the list_for_each() macro aptly named > list_for_each_safe(). ah yes, god catch > This is detected by Coccinelle