From: Sebastien Dugue <sebastien.dugue@bull.net>
To: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Cc: dsd@gentoo.org, randy.dunlap@oracle.com, trivial@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] Fix typos in Documentation/unaligned-memory-access.txt
Date: Fri, 28 Mar 2008 13:23:54 +0100 [thread overview]
Message-ID: <20080328132354.2a3b766e@bull.net> (raw)
In-Reply-To: <1206699042-1334-1-git-send-email-dmitri.vorobiev@gmail.com>
Hi Dmitri,
one more typo I guess:
On Fri, 28 Mar 2008 13:10:42 +0300 Dmitri Vorobiev <dmitri.vorobiev@gmail.com> wrote:
> This patch deletes a couple of superfluous word occurrences in the
> document Documentation/unaligned-memory-access.txt.
> ---
> Sorry for a duplicate email, I forgot to Cc LKML when sending the patch.
>
> Documentation/unaligned-memory-access.txt | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/unaligned-memory-access.txt b/Documentation/unaligned-memory-access.txt
> index 6223eac..ed57b53 100644
> --- a/Documentation/unaligned-memory-access.txt
> +++ b/Documentation/unaligned-memory-access.txt
> @@ -57,7 +57,7 @@ here; a summary of the common scenarios is presented below:
> unaligned access to be corrected.
> - Some architectures are not capable of unaligned memory access, but will
> silently perform a different memory access to the one that was requested,
> - resulting a a subtle code bug that is hard to detect!
> + resulting a subtle code bug that is hard to detect!
^
in a
Sebastien.
>
> It should be obvious from the above that if your code causes unaligned
> memory accesses to happen, your code will not work correctly on certain
> @@ -209,7 +209,7 @@ memory and you wish to avoid unaligned access, its usage is as follows:
>
> u32 value = get_unaligned((u32 *) data);
>
> -These macros work work for memory accesses of any length (not just 32 bits as
> +These macros work for memory accesses of any length (not just 32 bits as
> in the examples above). Be aware that when compared to standard access of
> aligned memory, using these macros to access unaligned memory can be costly in
> terms of performance.
next prev parent reply other threads:[~2008-03-28 12:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 10:10 [PATCH 1/1] Fix typos in Documentation/unaligned-memory-access.txt Dmitri Vorobiev
2008-03-28 12:23 ` Sebastien Dugue [this message]
2008-03-28 20:55 ` Dmitri Vorobiev
2008-03-28 20:58 ` Randy Dunlap
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=20080328132354.2a3b766e@bull.net \
--to=sebastien.dugue@bull.net \
--cc=dmitri.vorobiev@gmail.com \
--cc=dsd@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=trivial@kernel.org \
/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