Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267815AbUIZQjt (ORCPT ); Sun, 26 Sep 2004 12:39:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269578AbUIZQjt (ORCPT ); Sun, 26 Sep 2004 12:39:49 -0400 Received: from fw.osdl.org ([65.172.181.6]:31401 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S267815AbUIZQjs (ORCPT ); Sun, 26 Sep 2004 12:39:48 -0400 Date: Sun, 26 Sep 2004 09:39:22 -0700 (PDT) From: Linus Torvalds To: Anton Altaparmakov cc: viro@parcelfarce.linux.theplanet.co.uk, Andrew Morton , linux-kernel@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net Subject: Re: [PATCH 8/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix In-Reply-To: Message-ID: References: <20040925072516.GS23987@parcelfarce.linux.theplanet.co.uk> 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: 761 Lines: 20 On Sun, 26 Sep 2004, Anton Altaparmakov wrote: > > What does sparse do at the moment when the enum size has been changed > away from sizeof(int) using __attribute__ ((__packed__))? Spatse doesn't support that at all, and will just ignore it. Of course, since sparse doesn't actually generate any code, there's no real impact from that. In theory, you might get sparse to complain if you do something like "__attribute__((align(sizeof(xx)))" where the size is now wrong and not a power-of-two, but.. 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/