From: Jean Delvare <khali@linux-fr.org>
To: Chris Wright <chrisw@osdl.org>
Cc: linux-kernel@vger.kernel.org, stable@kernel.org, akpm@osdl.org,
tytso@mit.edu, zwane@arm.linux.org.uk, jmforbes@linuxtx.org,
rdunlap@xenotime.net, torvalds@osdl.org, chuckw@quantumlinux.com,
alan@lxorguk.ukuu.org.uk
Subject: Re: [05/07] Add "memory" clobbers to the x86 inline asm of strncmp and friends
Date: Tue, 28 Jun 2005 23:57:59 +0200 [thread overview]
Message-ID: <20050628235759.19866f7b.khali@linux-fr.org> (raw)
In-Reply-To: <20050627230144.GN9046@shell0.pdx.osdl.net>
Hi Chris,
> @@ -138,8 +139,9 @@ __asm__ __volatile__(
> "3:\tsbbl %%eax,%%eax\n\t"
> "orb $1,%%al\n"
> "4:"
> - :"=a" (__res), "=&S" (d0), "=&D" (d1), "=&c" (d2)
> - :"1" (cs),"2" (ct),"3" (count));
> + :"=a" (__res), "=&S" (d0), "=&D" (d1), "=&c" (d2)
> + :"1" (cs),"2" (ct),"3" (count)
> + :"memory");
> return __res;
> }
Could be made shorter. As far as I remember, indentation fixes are not
-stable material.
> @@ -369,7 +379,7 @@ __asm__ __volatile__(
> "je 2f\n\t"
> "stosb\n"
> "2:"
> - : "=&c" (d0), "=&D" (d1)
> + :"=&c" (d0), "=&D" (d1)
> :"a" (c), "q" (count), "0" (count/4), "1" ((long) s)
> :"memory");
> return (s);
Doesn't belong there, unless -stable rules have changed.
Thanks,
--
Jean Delvare
next prev parent reply other threads:[~2005-06-28 22:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 22:46 [00/07] -stable review Chris Wright
2005-06-27 22:50 ` [01/07] Fix typo in drivers/pci/pci-driver.c Chris Wright
2005-06-27 22:53 ` [02/07] [SCSI] qla2xxx: Pull-down scsi-host-addition to follow board initialization Chris Wright
2005-06-28 21:51 ` Jean Delvare
2005-06-28 22:20 ` Andrew Morton
2005-06-28 22:30 ` Chris Wright
2005-06-28 23:09 ` Andrew Morton
2005-06-28 23:16 ` Chris Wright
2005-06-28 22:32 ` [stable] " Greg KH
2005-06-29 8:08 ` Jean Delvare
2005-06-29 16:36 ` James Bottomley
2005-07-01 11:32 ` Jean Delvare
2005-06-27 22:55 ` [03/07] fix remap_pte_range BUG Chris Wright
2005-06-27 22:59 ` [04/07] e1000: fix spinlock bug Chris Wright
2005-06-27 23:01 ` [05/07] Add "memory" clobbers to the x86 inline asm of strncmp and friends Chris Wright
2005-06-28 21:57 ` Jean Delvare [this message]
2005-06-27 23:03 ` [06/07] ACPI: Make sure we call acpi_register_gsi() even for default PCI interrupt assignment Chris Wright
2005-06-27 23:05 ` [07/07] [NETLINK]: Fix two socket hashing bugs Chris Wright
2005-06-28 12:10 ` [00/07] -stable review Jim MacBaine
2005-06-28 14:47 ` [stable] " Chris Wright
2005-06-28 17:18 ` Jim MacBaine
2005-06-28 17:20 ` Chris Wright
2005-06-28 20:45 ` David S. Miller
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=20050628235759.19866f7b.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=chrisw@osdl.org \
--cc=chuckw@quantumlinux.com \
--cc=jmforbes@linuxtx.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=stable@kernel.org \
--cc=torvalds@osdl.org \
--cc=tytso@mit.edu \
--cc=zwane@arm.linux.org.uk \
/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