Re: [PATCH] scsi.h uses "u8" which isn't defined.

From: Christoph Hellwig
Date: Sun Aug 17 2003 - 08:12:08 EST


On Sun, Aug 17, 2003 at 03:08:55PM +0200, Dominik Strasser wrote:
> I am sorry, in 2.6.0-test3 (which I should have mentioned), there is no
> u8 in liux/types.h.

u8 is defined in asm/types.h but the proper way to include asm/types.h
is through linux/types.h.

> Just a __u8.
> Nevertheless there is a mixture in scsi.h, some lines above, u_char is
> used. This is why I chose to use it.

If you want consistency please convert all u_char to u8 (similar
for u_short -> u16 and u_int -> u32)

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