Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-13 Thread Vinod Koul
On 09-07-20, 08:23, Dave Jiang wrote: > > > On 7/8/2020 10:35 PM, Jiri Slaby wrote: > > On 07. 07. 20, 17:42, Dave Jiang wrote: > > > On 7/6/2020 11:05 PM, Jiri Slaby wrote: > > > > On 26. 06. 20, 20:09, Dave Jiang wrote: > > > > > Check dma device list and channel list for empty before iterate

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-09 Thread Dave Jiang
On 7/8/2020 10:35 PM, Jiri Slaby wrote: On 07. 07. 20, 17:42, Dave Jiang wrote: On 7/6/2020 11:05 PM, Jiri Slaby wrote: On 26. 06. 20, 20: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

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-08 Thread Jiri Slaby
On 07. 07. 20, 17:42, Dave Jiang wrote: > On 7/6/2020 11:05 PM, Jiri Slaby wrote: >> On 26. 06. 20, 20: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

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-07 Thread Dave Jiang
On 7/7/2020 1:50 AM, Peter Ujfalusi wrote: On 07/07/2020 9.05, Jiri Slaby wrote: On 26. 06. 20, 20: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

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-07 Thread Dave Jiang
On 7/6/2020 11:05 PM, Jiri Slaby wrote: On 26. 06. 20, 20: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

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-07 Thread Peter Ujfalusi
On 07/07/2020 9.05, Jiri Slaby wrote: > On 26. 06. 20, 20: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

Re: [PATCH v2] dmaengine: check device and channel list for empty

2020-07-07 Thread Jiri Slaby
On 26. 06. 20, 20: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