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

Christoph Hellwig
2003-08-17T13:07:37Z

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)