Re: [PATCH v3] sh: mm: Fix unprotected access to struct device

2018-05-05 Thread Rich Felker
On Thu, May 03, 2018 at 09:15:39AM +0200, jacopo mondi wrote: > Hi Christoph, > > On Wed, May 02, 2018 at 05:39:09AM -0700, Christoph Hellwig wrote: > > On Wed, May 02, 2018 at 09:46:31AM +0200, jacopo mondi wrote: > > > Hi again Christoph, > > > > > > The gentle ping actually applies to this

Re: [PATCH v3] sh: mm: Fix unprotected access to struct device

2018-05-03 Thread jacopo mondi
Hi Christoph, On Wed, May 02, 2018 at 05:39:09AM -0700, Christoph Hellwig wrote: > On Wed, May 02, 2018 at 09:46:31AM +0200, jacopo mondi wrote: > > Hi again Christoph, > > > > The gentle ping actually applies to this version of the patch. > > > > Sorry for the confusion. > > I'd expect this

Re: [PATCH v3] sh: mm: Fix unprotected access to struct device

2018-05-02 Thread Christoph Hellwig
On Wed, May 02, 2018 at 09:46:31AM +0200, jacopo mondi wrote: > Hi again Christoph, > > The gentle ping actually applies to this version of the patch. > > Sorry for the confusion. I'd expect this to go in through the sh tree, but if the sh maintainers are fine with it I can take it through

Re: [PATCH v3] sh: mm: Fix unprotected access to struct device

2018-05-02 Thread jacopo mondi
Hi again Christoph, The gentle ping actually applies to this version of the patch. Sorry for the confusion. Thanks j On Wed, Apr 18, 2018 at 11:42:35AM +0200, Jacopo Mondi wrote: > With commit ce88313069c36eef80f21fd7 ("arch/sh: make the DMA mapping > operations observe

[PATCH v3] sh: mm: Fix unprotected access to struct device

2018-04-18 Thread Jacopo Mondi
With commit ce88313069c36eef80f21fd7 ("arch/sh: make the DMA mapping operations observe dev->dma_pfn_offset") the generic DMA allocation function on which the SH 'dma_alloc_coherent()' function relies on, accesses the 'dma_pfn_offset' field of struct device. Unfortunately the