Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670761
| From | Christoph Hellwig <hch@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 1/7] dma: Take into account dma_pfn_offset |
| Date | 2017-06-20 15:30 +0200 |
| Message-ID | <tUroe-Jj-33@gated-at.bofh.it> (permalink) |
| References | <tKBIe-15d-7@gated-at.bofh.it> <tKCkW-1Ap-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> - 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.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH v5 1/7] dma: Take into account dma_pfn_offset Christoph Hellwig <hch@infradead.org> - 2017-06-20 15:30 +0200 Re: [PATCH v5 1/7] dma: Take into account dma_pfn_offset Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-22 14:50 +0200
csiph-web