From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-in-02.arcor-online.net ([151.189.21.42]) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1HvbHS-0007rn-6F for linux-mtd@lists.infradead.org; Tue, 05 Jun 2007 11:49:12 -0400 In-Reply-To: <1180964303.25232.358.camel@pmac.infradead.org> References: <20070603183845.GA8952@lazybastard.org> <20070603184205.GE8952@lazybastard.org> <200706032342.27252.arnd@arndb.de> <20070604091245.GF14823@lazybastard.org> <1180964303.25232.358.camel@pmac.infradead.org> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <18f622d94e9273fe6c93ef091fcec87c@kernel.crashing.org> Content-Transfer-Encoding: 7bit From: Segher Boessenkool Subject: Re: [Patch 04/18] include/linux/logfs.h Date: Tue, 5 Jun 2007 17:49:01 +0200 To: David Woodhouse Cc: akpm@osdl.org, David Weinehall , Dongjun Shin , Kyle Moffett , linux-mtd@lists.infradead.org, Pavel Machek , Sam Ravnborg , Ulisses Furquim , CaT , Evgeniy Polyakov , Roland Dreier , Arnd Bergmann , =?ISO-8859-1?Q?J=F6rn_Engel?= , Jamie Lokier , Pekka Enberg , Jan Engelhardt , Thomas Gleixner , Bill Davidsen , Albert Cahalan , John Stoffel , linux-kernel@vger.kernel.org, Ondrej Zajicek , linux-fsdevel@vger.kernel.org, Willy Tarreau List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > It would be better if GCC had a 'nopadding' attribute which gave us > what > we need without the _extra_ implications about alignment. That's impossible; removing the padding from a struct _will_ make accesses to its members unaligned (think about arrays of that struct). Segher