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

From: Ingo Molnar
Date: Fri Nov 21 2008 - 12:00:32 EST



* Joerg Roedel <joerg.roedel@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/