Re: [Patch v2] spi: fsl-dspi: fix wrong pointer in suspend/resume

2020-11-04 Thread Mark Brown
On Tue, 3 Nov 2020 10:05:46 +0800, Qiang Zhao wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in > remove path"), this driver causes a "NULL pointer dereference" > in dspi_suspend/resume. > This is because since this commit, the drivers private data point to > "dspi" instead

Re: [Patch v2] spi: fsl-dspi: fix wrong pointer in suspend/resume

2020-11-03 Thread Vladimir Oltean
On Tue, Nov 03, 2020 at 10:05:46AM +0800, Qiang Zhao wrote: > From: Zhao Qiang > > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in > remove path"), this driver causes a "NULL pointer dereference" > in dspi_suspend/resume. > This is because since this commit, the drivers private

[Patch v2] spi: fsl-dspi: fix wrong pointer in suspend/resume

2020-11-02 Thread Qiang Zhao
From: Zhao Qiang Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove path"), this driver causes a "NULL pointer dereference" in dspi_suspend/resume. This is because since this commit, the drivers private data point to "dspi" instead of "ctlr", the codes in suspend and resume