Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272059AbTHRPcs (ORCPT ); Mon, 18 Aug 2003 11:32:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272053AbTHRPcr (ORCPT ); Mon, 18 Aug 2003 11:32:47 -0400 Received: from [63.247.75.124] ([63.247.75.124]:32142 "EHLO havoc.gtf.org") by vger.kernel.org with ESMTP id S272050AbTHRPcl (ORCPT ); Mon, 18 Aug 2003 11:32:41 -0400 Date: Mon, 18 Aug 2003 11:32:39 -0400 From: Jeff Garzik To: Linus Torvalds Cc: Andries.Brouwer@cwi.nl, Dominik.Strasser@t-online.de, hch@infradead.org, linux-kernel@vger.kernel.org, torvalds@transmeta.com Subject: Re: [PATCH] Re: [PATCH] scsi.h uses "u8" which isn't defined. Message-ID: <20030818153239.GC24693@gtf.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 27 On Mon, Aug 18, 2003 at 08:21:45AM -0700, Linus Torvalds wrote: > > On Mon, 18 Aug 2003 Andries.Brouwer@cwi.nl wrote: > > > > I see that Linus already applied this, but I am quite unhappy with > > these changes. Entirely needlessly user space software is broken. > > If it's supposed to be exported to user space, it _still_ must not use > "u_char", since that isn't namespace-clean. > > If it needs exporting, it must use "__u8". Maybe I am biased, but I actually prefer to use the C99 size-specific types, when code will be used outside the kernel tree... even if that userland code is entirely Linux-kernel-specific. I try to avoid "__u" since it's typically a gcc-specific type. C99 gave us the tools, we should use them :) Jeff - 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/