All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: "Langsdorf, Mark" <mark.langsdorf@amd.com>, cpufreq@lists.linux.org.uk
Subject: Re: [PATCH] Hardware P-state driver for AMD Opterons, etc.
Date: Sun, 4 Jun 2006 19:36:59 -0400	[thread overview]
Message-ID: <20060604233659.GA2823@redhat.com> (raw)
In-Reply-To: <20060604171840.GB25345@isilmar.linta.de>

On Sun, Jun 04, 2006 at 07:18:40PM +0200, Dominik Brodowski wrote:
 > Hi,
 > 
 > On Fri, Jun 02, 2006 at 05:45:24PM -0500, Langsdorf, Mark wrote:
 > > +static int cpu_family = CPU_OPTERON;
 > 
 > ...
 > 
 > > +	if (cpu_family)
 > > +		return 0;
 > > +
 > 
 > ...
 > 
 > > +	if (cpu_family) {
 > > +		rdmsr(MSR_PSTATE_STATUS, lo, hi);
 > 
 > ...
 > 
 > I'd prefer it if all these if cases would be made explicit:
 > 
 > 
 > 	if (cpu_family == CPU_OPTERON)
 > 
 > as that makes the code much more readable.

I'll second that, but I'll prefer that as a separate diff
as I've already started cleaning up the whitespace damage
in the previous diff, so I'll apply that in a few minutes.

Mark, your editor seems to use a mix of spaces and tabs, which
looks really strange. I've fixed up the few cases that stood out,
so you may want to base your next diff on what turns up in -mm4
when Andrew releases that tree.

		Dave

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

  reply	other threads:[~2006-06-04 23:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-02 22:45 [PATCH] Hardware P-state driver for AMD Opterons, etc Langsdorf, Mark
2006-06-04 17:18 ` Dominik Brodowski
2006-06-04 23:36   ` Dave Jones [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-05 15:18 Langsdorf, Mark
2006-06-05 16:40 ` 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=20060604233659.GA2823@redhat.com \
    --to=davej@redhat.com \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=mark.langsdorf@amd.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.