Re: [PATCH] ethtool.h should use userspace-accessible types

From: Tim Hockin
Date: Thu Mar 11 2004 - 21:38:10 EST


On Thu, Mar 11, 2004 at 05:54:48PM -0800, Eric Brower wrote:
> Attached is a patch to 2.4's ethtool.h to use appropriate,
> userspace-accessible data types (__u8 and friends, rather than u8 and
> friends).

if we *know* the width of them, why don't we just use C99 standard types in
*both* places? I've never quite grokked why we need u8 and __u8 and all the
variants, when we now have uint8_t. I mean, at least it's standardized.

Anyone have a logical answer?
-
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/