Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261705AbTIGXPk (ORCPT ); Sun, 7 Sep 2003 19:15:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261711AbTIGXPk (ORCPT ); Sun, 7 Sep 2003 19:15:40 -0400 Received: from fw.osdl.org ([65.172.181.6]:24540 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261705AbTIGXPk (ORCPT ); Sun, 7 Sep 2003 19:15:40 -0400 Date: Sun, 7 Sep 2003 16:15:33 -0700 (PDT) From: Linus Torvalds To: Arnd Bergmann cc: Andreas Schwab , , Matthew Wilcox Subject: Re: [PATCH] use size_t for the broken ioctl numbers In-Reply-To: <200309072128.h87LScJZ009118@post.webmailer.de> 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: 524 Lines: 17 On Sun, 7 Sep 2003, Arnd Bergmann wrote: > > How about changing (sizeof(x)) to (sizeof(x[1]))? > It will result in "parse error before `['" when x is not > a type or an array type. That sounds like a clever thing to do. Have you tested it with a full configuration? 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/