[PATCH 10/10] x86: add checks for sync_sg* code

Ingo Molnar mingo at elte.hu
Fri Nov 21 08:59:48 PST 2008


* Joerg Roedel <joerg.roedel at amd.com> wrote:

> +	for_each_sg(sg, s, nelems, i)
> +		check_sync(dev, s->dma_address, s->dma_length, 0,
> +			   direction, true);

curly braces needed for the multi-line loop body.

> +	for_each_sg(sg, s, nelems, i)
> +		check_sync(dev, s->dma_address, s->dma_length, 0,
> +			   direction, false);

ditto.

	Ingo


More information about the iommu mailing list