From: Andreas Dilger <adilger@clusterfs.com>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: valerie.clement@bull.net, Mingming Cao <cmm@us.ibm.com>,
linux-ext4 <linux-ext4@vger.kernel.org>
Subject: Re: Sparse endian issues with patches.
Date: Wed, 12 Sep 2007 18:32:58 -0600 [thread overview]
Message-ID: <20070913003258.GR5377@schatzie.adilger.int> (raw)
In-Reply-To: <46E81867.1000606@linux.vnet.ibm.com>
On Sep 12, 2007 22:18 +0530, Aneesh Kumar K.V wrote:
> Attaching below patch that fix the sparse warning for ext4.
It would be good to also fix the "raw" access of split 48-bit and 64-bit
fields as I previously sent to the list. A new typedef for these fields
(on disk) would ensure that they are not accessed directly and give
compiler warnings if new patches don't have the right macro usage.
> - if (mnt_count != sbi->s_es->s_mnt_count) {
> + if (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count)) {
That overflows 80 columns, as do several other lines.
>
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
next prev parent reply other threads:[~2007-09-13 0:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-12 16:48 Sparse endian issues with patches Aneesh Kumar K.V
2007-09-13 0:32 ` Andreas Dilger [this message]
2007-09-13 0:36 ` Mingming Cao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070913003258.GR5377@schatzie.adilger.int \
--to=adilger@clusterfs.com \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=cmm@us.ibm.com \
--cc=linux-ext4@vger.kernel.org \
--cc=valerie.clement@bull.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox