Re: [PATCH] scatterlist.h needs types.h

From: Jean Delvare
Date: Fri Mar 02 2007 - 01:56:37 EST


Hi Andrew,

On Thu, 1 Mar 2007 16:11:06 -0800, Andrew Morton wrote:
> On Thu, 1 Mar 2007 13:55:16 +0100
> Jean Delvare <khali@xxxxxxxxxxxx> wrote:
>
> > Most architectures' scatterlist.h use the type dma_addr_t, but omit
> > to include <asm/types.h> which defines it. This could lead to build
> > failures, so let's add the missing includes.
>
> _does_ it actually lead to build errors? If so, 2.6.21. If not, 2.6.22.

No known build error at the moment, so 2.6.22 is fine with me.

I'm working on a patch cleaning up the inclusion of <linux/pci.h>
across the whole kernel, and this is how I've hit the problem. I'll
post that patch later today for comments.

Thanks,
--
Jean Delvare
-
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/