From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Leech Subject: Re: [PATCH 1/3] 24-bit types: typedef and macros for accessing 3-byte arrays as integers Date: Wed, 10 Sep 2008 09:25:16 -0700 Message-ID: <48C7F4EC.1080709@intel.com> References: <20080905165732.16689.50256.stgit@localhost.localdomain> <20080910140712.GA12280@infradead.org> <1221061241.27385.14.camel@norville.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com ([134.134.136.20]:15416 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751908AbYIJQZR (ORCPT ); Wed, 10 Sep 2008 12:25:17 -0400 In-Reply-To: <1221061241.27385.14.camel@norville.austin.ibm.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Dave Kleikamp Cc: Christoph Hellwig , jfs-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, devel@open-fcoe.org Dave Kleikamp wrote: > On Wed, 2008-09-10 at 10:07 -0400, Christoph Hellwig wrote: > >> JFS already defines an __le24, see fs/jfs/endian24.h. Please try to >> cover it, too or at least make sure you don't break it. > > Chris, > This patch takes care of jfs. Please add it to your patchset. > > Thanks, > Shaggy Thanks, I was just about to look into JFS. > @@ -62,7 +60,7 @@ struct timestruc_t { > */ > typedef struct { > unsigned len:24; > - unsigned off1:8; > + u8 off1; > u32 off2; > } lxd_t; Shouldn't len here be changed to a __le24? I think this just changed the size of lxd_t by a byte. - Chris