Re: [PATCH] use simple_strtoul for unsigned kernel parameters

From: Linus Torvalds
Date: Mon Aug 18 2003 - 10:22:12 EST



On Mon, 18 Aug 2003, Rusty Russell wrote:
>
> Half right. The second part is fine, the first part is redundant
> AFAICT.

Well, in theory short/int/long can all be the same size and thus a
"unsigned short" may not actually fit in a "long". I think that was the
case on the old 64-bit cray machines, for example ("char" was a very slow
8-bit thing, everything else was purely 64-bit).

Not likely something we want to port Linux to, admittedly.

Linus

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