Re: [patch 2.6.16-git] dma doc updates

From: David Brownell
Date: Sun Apr 02 2006 - 14:38:28 EST


On Saturday 01 April 2006 6:51 pm, Muli Ben-Yehuda wrote:
> On Sat, Apr 01, 2006 at 10:21:52AM -0800, David Brownell wrote:
>
> > + int
> > + dma_map_sg(struct device *dev, struct scatterlist *sg,
> > + int nents, enum dma_data_direction direction)
>
> While you're at it, care to s/enum dma_data_direction/int/? some archs
> use one and some use the other, and there was weak consensus that int
> is better.

Nah. That patch was just to _clarify_ things not make API changes.
That particular text was just being indented for readability.

Plus, I won't join a consensus to needlessly prevent compilers from
reporting illegal parameters.

- Dave
-
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/