REGRESSION in 6.0-rc7 caused by patch "ARM/dma-mapping: use dma-direct unconditionally"
Marek Behún
kabel at kernel.org
Mon Oct 3 11:57:23 PDT 2022
On Mon, 3 Oct 2022 09:30:37 +0200
Christoph Hellwig <hch at lst.de> wrote:
> On Fri, Sep 30, 2022 at 05:02:05PM +0200, Marek Behún wrote:
> > It seems that the null pointer dereference comes from the data variable
> > having zero value. We assign
> > data = (u8 *)(uintptr_t)rx_desc->buf_cookie;
>
> I never see any assignment to ->buf_cookie in the driver, what am
> I missing?
>
in mvneta_bm driver, mvneta_bm_construct():
*(u32 *)buf = (u32)buf;
More information about the linux-arm-kernel
mailing list