Re: [PATCH] ASoC: fsl_asrc_dma: fix potential null-ptr-deref

2023-04-19 Thread Mark Brown
On Mon, 17 Apr 2023 06:32:42 -0700, Nikita Zhandarovich wrote: > dma_request_slave_channel() may return NULL which will lead to > NULL pointer dereference error in 'tmp_chan->private'. > > Correct this behaviour by, first, switching from deprecated function > dma_request_slave_channel() to dma_req

Re: [PATCH] ASoC: fsl_asrc_dma: fix potential null-ptr-deref

2023-04-19 Thread Shengjiu Wang
On Mon, Apr 17, 2023 at 9:33 PM Nikita Zhandarovich < n.zhandarov...@fintech.ru> wrote: > dma_request_slave_channel() may return NULL which will lead to > NULL pointer dereference error in 'tmp_chan->private'. > > Correct this behaviour by, first, switching from deprecated function > dma_request_s