From: Jean Delvare Date: Sat, 21 May 2011 08:30:30 +0000 Subject: Re: [lm-sensors] [PATCH 2/2] hwmon: (coretemp) Fix checkpatch errors Message-Id: <20110521103030.37622440@endymion.delvare> List-Id: References: <1305902880-11414-3-git-send-email-guenter.roeck@ericsson.com> In-Reply-To: <1305902880-11414-3-git-send-email-guenter.roeck@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Hi Guenter, On Fri, 20 May 2011 07:48:00 -0700, Guenter Roeck wrote: > Fix remaining checkpatch errors in the coretemp driver. Most of these aren't actually reported by checkpatch. But I'm fine with the fixes nevertheless. A few comments: > Signed-off-by: Guenter Roeck > Cc: Fenghua Yu > Cc: Durgadoss R > --- > drivers/hwmon/coretemp.c | 66 +++++++++++++++++++++++++-------------------- > 1 files changed, 37 insertions(+), 29 deletions(-) > > diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c > index ece3b7d..649d87d 100644 > --- a/drivers/hwmon/coretemp.c > +++ b/drivers/hwmon/coretemp.c > @@ -37,7 +37,7 @@ > #include > #include > #include > -#include > +#include Then please move it up to the group. > (...) > @@ -259,8 +264,10 @@ static int adjust_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *dev) > } else if (eax & 0x40000000) { > tjmax = tjmax_ee; > } > - /* if we dont use msr EE it means we are desktop CPU (with exeception > - of Atom) */ > + /* > + * if we dont use msr EE it means we are desktop CPU (with exeception While you're here, capital "I" please, and s/dont/don't/. > + * of Atom) > + */ > } else if (tjmax = 100000) { > dev_warn(dev, "Using relative temperature scale!\n"); > } > (...) Then, Acked-by: Jean Delvare -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors