All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	Andrew Morton <akpm@osdl.org>,
	Dave Jones <davej@codemonkey.org.uk>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gx-suspmod: fix "&& 0xff" typo
Date: Wed, 8 Nov 2006 17:16:26 -0500	[thread overview]
Message-ID: <20061108221626.GH3309@redhat.com> (raw)
In-Reply-To: <20061108141007.e0adf333.randy.dunlap@oracle.com>

On Wed, Nov 08, 2006 at 02:10:07PM -0800, Randy Dunlap wrote:
 > On Thu, 9 Nov 2006 01:04:35 +0300 Alexey Dobriyan wrote:
 > 
 > > Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
 > > ---
 > > 
 > >  arch/i386/kernel/cpu/cpufreq/gx-suspmod.c |    2 +-
 > >  1 file changed, 1 insertion(+), 1 deletion(-)
 > > 
 > > --- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
 > > +++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
 > > @@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void)
 > >  	pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration));
 > >  	pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration));
 > >          pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev);
 > > -	params->pci_rev = class_rev && 0xff;
 > > +	params->pci_rev = class_rev & 0xff;
 > 
 > Hi,
 > any kind of automated detection on that one?

grep -r "&& 0x" .  seems to be pretty effective modulo
some false-positives.

		Dave

-- 
http://www.codemonkey.org.uk

  reply	other threads:[~2006-11-08 22:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08 22:04 [PATCH] gx-suspmod: fix "&& 0xff" typo Alexey Dobriyan
2006-11-08 22:10 ` Randy Dunlap
2006-11-08 22:16   ` Dave Jones [this message]
2006-11-08 22:20     ` Alexey Dobriyan
2006-11-08 22:50       ` Dave Jones
2006-11-09  4:24         ` Willy Tarreau
2006-11-10 20:16       ` Horst H. von Brand
2006-11-08 22:11 ` Dave Jones

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=20061108221626.GH3309@redhat.com \
    --to=davej@redhat.com \
    --cc=adobriyan@gmail.com \
    --cc=akpm@osdl.org \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.