[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170620132400.GB11370@infradead.org>
Date: Tue, 20 Jun 2017 06:24:00 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Vladimir Murzin <vladimir.murzin@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux@...linux.org.uk, sza@....hu, arnd@...db.de,
gregkh@...uxfoundation.org, akpm@...ux-foundation.org,
alexandre.torgue@...com, robin.murphy@....com,
benjamin.gaignard@...aro.org, kbuild-all@...org,
Joerg Roedel <jroedel@...e.de>,
Christian Borntraeger <borntraeger@...ibm.com>
Subject: Re: [PATCH v5 1/7] dma: Take into account dma_pfn_offset
> - sg_dma_address(sg) = (dma_addr_t)virt_to_phys(va);
> + sg_dma_address(sg) = (dma_addr_t)(virt_to_phys(va) - PFN_PHYS(dev->dma_pfn_offset));
Needs a line break instead of the overly long line.
Otherwise this looks fine to me.
Powered by blists - more mailing lists