lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 10 Jun 2015 00:34:57 +0000 From: "Elliott, Robert (Server Storage)" <Elliott@...com> To: Dan Williams <dan.j.williams@...el.com>, "axboe@...nel.dk" <axboe@...nel.dk> CC: Michal Simek <monstr@...str.eu>, Russell King <linux@....linux.org.uk>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Joerg Roedel <joro@...tes.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Julia Lawall <Julia.Lawall@...6.fr>, "dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>, David Woodhouse <dwmw2@...radead.org>, "hch@....de" <hch@....de>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org> Subject: RE: [PATCH 1/2] scatterlist: use sg_phys() > -----Original Message----- > From: linux-kernel-owner@...r.kernel.org [mailto:linux-kernel- > owner@...r.kernel.org] On Behalf Of Dan Williams > Sent: Tuesday, June 09, 2015 10:27 AM > Subject: [PATCH 1/2] scatterlist: use sg_phys() > ... > diff --git a/arch/microblaze/kernel/dma.c b/arch/microblaze/kernel/dma.c > index ed7ba8a11822..dcb3c594d626 100644 > --- a/arch/microblaze/kernel/dma.c > +++ b/arch/microblaze/kernel/dma.c > @@ -61,7 +61,7 @@ static int dma_direct_map_sg(struct device *dev, struct > scatterlist *sgl, > /* FIXME this part of code is untested */ > for_each_sg(sgl, sg, nents, i) { > sg->dma_address = sg_phys(sg); > - __dma_sync(page_to_phys(sg_page(sg)) + sg->offset, > + __dma_sync(sg_phys(sg), > sg->length, direction); > } That one ends up with weird indentation.
Powered by blists - more mailing lists