From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: (coretemp) Improve support of recent Atom CPU models
Date: Wed, 30 May 2012 18:17:19 +0000 [thread overview]
Message-ID: <20120530201719.6fa55fcc@endymion.delvare> (raw)
In-Reply-To: <20120530132956.6161d552@endymion.delvare>
Hi Guenter,
On Wed, 30 May 2012 08:22:03 -0700, Guenter Roeck wrote:
> On Wed, May 30, 2012 at 07:29:56AM -0400, Jean Delvare wrote:
> > Document the new Atom series (Tunnel Creek and Medfield) as being
> > supported, and list TjMax for the Atom E600 series.
> >
> > Also enable the Atom tjmax heuristic for these Atom CPU models.
> >
> > Signed-off-by: Jean Delvare <khali@linux-fr.org>
> > Cc: Alexander Stein <alexander.stein@systec-electronic.com>
> > Cc: Fenghua Yu <fenghua.yu@intel.com>
> > Cc: Guenter Roeck <guenter.roeck@ericsson.com>
> > Cc: "R, Durgadoss" <durgadoss.r@intel.com>
>
> Reviewed-by: Guenter Roeck <guenter.roeck@ericsson.com>
>
> Minor comment below. Ignore it at your pleasure - I am not really sure if this is one
> we want to follow unless it is made non-strict.
>
> Do you want me to take the patch ?
It's in my tree for now, I'll hand it over to you later if and only if
you have patches which conflict with it.
> > (...)
> > --- linux-3.1-rc4.orig/drivers/hwmon/coretemp.c 2011-09-28 14:22:44.000000000 +0200
> > +++ linux-3.1-rc4/drivers/hwmon/coretemp.c 2011-09-28 16:23:29.000000000 +0200
> > @@ -210,7 +210,8 @@ static int adjust_tjmax(struct cpuinfo_x
> >
> > /* Atom CPUs */
> >
> > - if (c->x86_model = 0x1c) {
> > + if (c->x86_model = 0x1c || c->x86_model = 0x26
> > + || c->x86_model = 0x27) {
>
> Upstream seems to have decided about logical continuations.
>
> groeck@groeck-laptop:~/src/linux-staging$ scripts/checkpatch.pl --strict patches/coretemp
> CHECK: Logical continuations should be on the previous line
> #63: FILE: drivers/hwmon/coretemp.c:214:
> + if (c->x86_model = 0x1c || c->x86_model = 0x26
> + || c->x86_model = 0x27) {
I don't use --strict.
(I don't even think it should exist... Important things shall be
enforced, unimportant things should not so as to lower the barrier for
new contributors. The above is definitely not important.)
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2012-05-30 18:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 11:29 [lm-sensors] [PATCH] hwmon: (coretemp) Improve support of recent Atom CPU models Jean Delvare
2012-05-30 15:22 ` Guenter Roeck
2012-05-30 15:55 ` Alexander Stein
2012-05-30 16:02 ` Jean Delvare
2012-05-30 18:17 ` Jean Delvare [this message]
2012-05-31 2:22 ` Guenter Roeck
2012-05-31 6:33 ` Alexander Stein
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=20120530201719.6fa55fcc@endymion.delvare \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.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 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.