From: NeilBrown <neilb@suse.de>
To: mwilck@arcor.de
Cc: linux-raid@vger.kernel.org
Subject: Re: [RFC/PATCH 0/6] DDF: safe big-endian types
Date: Tue, 23 Jul 2013 14:06:58 +1000 [thread overview]
Message-ID: <20130723140658.20eb391b@notabene.brown> (raw)
In-Reply-To: <1374427704-7903-1-git-send-email-mwilck@arcor.de>
[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]
On Sun, 21 Jul 2013 19:28:18 +0200 mwilck@arcor.de wrote:
> Hi Neil, hello list,
>
> please review this patch series. I made so many endianness bugs
> while working on DDF during the last months that I thought this
> might be helpful - it will cause bugs to be caught by the
> compiler which may otherwise turn up as hard-to-find runtime errors.
I like this a lot - thanks!
>
> Note that the code *does not* compile after each patch, only
> after the last one. I broke it down to make it more readable.
>
> Patch 0005 and 0006 are separate because they are actual minor bugs
> in the code that the endianness patch set helped me find.
I really prefer the compile to never break. Thanks for highlighting those
two fixes more me, but I've taken the liberty of just merging them back to
where they are needed.
I applied these and all the other patches you sent and pushed it all out.
Thanks a lot!
NeilBrown
>
> I verified that the DDF unit tests aren't broken by this patch set.
>
> Martin
>
> Martin Wilck (6):
> DDF: add endian-safe typedefs
> DDF: convert big endian to be32 type
> DDF: convert big-endian __u64 to be64 type
> DDF: convert big-endian __u16 to be16 type
> DDF: add_other_bvd: fix endianness bug
> DDF: ddf_set_disk: fix minor endianness bug
>
> super-ddf.c | 851 ++++++++++++++++++++++++++++++++---------------------------
> 1 files changed, 462 insertions(+), 389 deletions(-)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
prev parent reply other threads:[~2013-07-23 4:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-21 17:28 [RFC/PATCH 0/6] DDF: safe big-endian types mwilck
2013-07-21 17:28 ` [PATCH 1/6] DDF: add endian-safe typedefs mwilck
2013-07-21 17:28 ` [PATCH 2/6] DDF: convert big endian to be32 type mwilck
2013-07-21 17:28 ` [PATCH 3/6] DDF: convert big-endian __u64 to be64 type mwilck
2013-07-21 17:28 ` [PATCH 4/6] DDF: convert big-endian __u16 to be16 type mwilck
2013-07-21 17:28 ` [PATCH 5/6] DDF: add_other_bvd: fix endianness bug mwilck
2013-07-21 17:28 ` [PATCH 6/6] DDF: ddf_set_disk: fix minor " mwilck
2013-07-23 4:06 ` NeilBrown [this message]
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=20130723140658.20eb391b@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=mwilck@arcor.de \
/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;
as well as URLs for NNTP newsgroup(s).