Re: [PATCH] use simple_strtoul for unsigned kernel parameters

From: Jamie Lokier
Date: Mon Aug 18 2003 - 10:39:53 EST


Linus Torvalds wrote:
> 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).

There's the SHARC and C4x architectures, where "char" is 32 bits, the
same as "short", "int" and "long".

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