Re: [bug report] dma-buf: Clarify that dma-buf sg lists are page aligned

2020-11-02 Thread Dan Carpenter
too late to replace it. Just send a patch to fix it. regards, dan carpenter > Jianxin > > > -Original Message- > > From: Dan Carpenter > > Sent: Monday, November 02, 2020 12:15 AM > > To: Xiong, Jianxin > > Cc: dri-devel@lists.freedesktop.org > >

Re: [bug report] dma-buf: Clarify that dma-buf sg lists are page aligned

2020-11-02 Thread Daniel Vetter
xin > > Cc: dri-devel@lists.freedesktop.org > > Subject: [bug report] dma-buf: Clarify that dma-buf sg lists are page > > aligned > > > > Hello Jianxin Xiong, > > > > The patch ac80cd17a615: "dma-buf: Clarify that dma-buf sg lists are page > > ali

RE: [bug report] dma-buf: Clarify that dma-buf sg lists are page aligned

2020-11-02 Thread Xiong, Jianxin
; Cc: dri-devel@lists.freedesktop.org > Subject: [bug report] dma-buf: Clarify that dma-buf sg lists are page aligned > > Hello Jianxin Xiong, > > The patch ac80cd17a615: "dma-buf: Clarify that dma-buf sg lists are page > aligned" from Oct 14, 2020, lead

[bug report] dma-buf: Clarify that dma-buf sg lists are page aligned

2020-11-02 Thread Dan Carpenter
Hello Jianxin Xiong, The patch ac80cd17a615: "dma-buf: Clarify that dma-buf sg lists are page aligned" from Oct 14, 2020, leads to the following static checker warning: drivers/dma-buf/dma-buf.c:917 dma_buf_map_attachment() error: 'sg_table' dereferencing possible ERR_PTR() drive