Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271938AbTHRPUg (ORCPT ); Mon, 18 Aug 2003 11:20:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272059AbTHRPUf (ORCPT ); Mon, 18 Aug 2003 11:20:35 -0400 Received: from fw.osdl.org ([65.172.181.6]:10171 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S271938AbTHRPUf (ORCPT ); Mon, 18 Aug 2003 11:20:35 -0400 Date: Mon, 18 Aug 2003 08:20:29 -0700 (PDT) From: Linus Torvalds To: Rusty Russell cc: Jamie Lokier , Subject: Re: [PATCH] use simple_strtoul for unsigned kernel parameters In-Reply-To: <20030818101524.5B12D2C019@lists.samba.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 20 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/