Re: [PATCH 10/16] dma-debug: add add checking for map/unmap_sg

From: Joerg Roedel
Date: Thu Feb 12 2009 - 09:54:41 EST


On Thu, Feb 05, 2009 at 10:30:49PM +0000, David Woodhouse wrote:
> On Mon, 2009-01-19 at 15:46 +0100, Joerg Roedel wrote:
> >
> > +extern void debug_dma_map_sg(struct device *dev, struct scatterlist *sg,
> > + int nents, int direction);
> > +
> > +extern void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist,
> > + int nelems, int dir);
>
> You want a forward declaration of 'struct scatterlist' to go with those.

Added. Thanks.

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