From: Chris Mason <chris.mason@fusionio.com>
To: Shawn Landden <shawnlandden@gmail.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] fix unaligned memory accesses (Closes: #656955)
Date: Mon, 9 Jul 2012 14:16:24 -0400 [thread overview]
Message-ID: <20120709181624.GU7159@shiny> (raw)
In-Reply-To: <1341625062-13044-1-git-send-email-shawnlandden@gmail.com>
On Fri, Jul 06, 2012 at 07:37:42PM -0600, Shawn Landden wrote:
> From: Shawn Landen <shawnlandden@gmail.com>
>
> Fix creation of volumes using mkfs.btrfs on armv5.
[ use memcpy instead of direct structure accesses ]
Thanks for the patch. This should be a problem in the way gcc is run.
The kernel uses the same functions without memcpy, so there must be a
way to get gcc to turn the unaligned access into something arch safe.
-chris
prev parent reply other threads:[~2012-07-09 18:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-07 1:37 [PATCH] fix unaligned memory accesses (Closes: #656955) Shawn Landden
2012-07-07 10:48 ` Alexander Block
2012-07-09 18:16 ` Chris Mason [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=20120709181624.GU7159@shiny \
--to=chris.mason@fusionio.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=shawnlandden@gmail.com \
/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).