From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Davide Rizzo <elpa.rizzo@gmail.com>
Cc: LM Sensors <lm-sensors@lm-sensors.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Jean Delvare <khali@linux-fr.org>
Subject: Re: [PATCH] hwmon: (lm95241) Rewritten without using macros
Date: Thu, 18 Nov 2010 07:38:56 -0800 [thread overview]
Message-ID: <20101118153856.GA27671@ericsson.com> (raw)
In-Reply-To: <AANLkTikQ9X0ntcBfD391zsyAZ1BfCCD1-DcKBb-O8kJn@mail.gmail.com>
Hi Davide,
On Wed, Nov 17, 2010 at 06:05:43AM -0500, Davide Rizzo wrote:
> > Removing the above includes violates SubmitChecklist rule #1. Also, please reparent to Linus'
> > latest tree.
> >
> > Other than that, there are a only few formatting issues, but I can take care of those myself.
> > So please re-submit with the above changes, and we should be ready to go.
> >
> > Thanks,
> > Guenter
>
> Here it is as requested.
> Regards,
> Davide Rizzo
>
> From: Davide Rizzo <elpa.rizzo@gmail.com<mailto:elpa.rizzo@gmail.com>>
>
> Rewriting of driver/hwmon/lm95241.c to avoid using macros
>
> Signed-off-by: Davide Rizzo <elpa.rizzo@gmail.com<mailto:elpa.rizzo@gmail.com>>
> ---
> --- linux-2.6.37-rc2/drivers/hwmon/lm95241.c 2010-11-16 03:31:02.000000000 +0100
> +++ linux-2.6.37-rc2.elpa/drivers/hwmon/lm95241.c 2010-11-17
> 11:47:21.911752940 +0100
Looks like you still have trouble with line wraps. You might want to get this fixed;
having to figure out why the patch does not apply is a bit annoying.
> @@ -1,13 +1,9 @@
> /*
> - * lm95241.c - Part of lm_sensors, Linux kernel modules for hardware
> - * monitoring
> - * Copyright (C) 2008 Davide Rizzo <elpa-rizzo@gmail.com>
> + * Copyright (C) 2008, 2010 Davide Rizzo <elpa.rizzo@gmail.com>
> *
> - * Based on the max1619 driver. The LM95241 is a sensor chip made by National
> - * Semiconductors.
> - * It reports up to three temperatures (its own plus up to
> - * two external ones). Complete datasheet can be
> - * obtained from National's website at:
> + * The LM95241 is a sensor chip made by National Semiconductors.
> + * It reports up to three temperatures (its own plus up to two external ones).
> + * Complete datasheet can be obtained from National's website at:
> * http://www.national.com/ds.cgi/LM/LM95241.pdf
> *
> * This program is free software; you can redistribute it and/or modify
> @@ -27,14 +23,17 @@
>
> #include <linux/module.h>
> #include <linux/init.h>
> -#include <linux/slab.h>
> #include <linux/jiffies.h>
> +#include <linux/mutex.h>
> +#include <linux/sysfs.h>
> +
> +#include <linux/slab.h>
> #include <linux/i2c.h>
> #include <linux/hwmon.h>
> #include <linux/hwmon-sysfs.h>
> #include <linux/err.h>
> -#include <linux/mutex.h>
> -#include <linux/sysfs.h>
> +
Moving include statements around is just a whitespace change and should be avoided.
Also, you added a blank line at the end of the file which causes a git whitespace error
when applying the patch.
No need to retransmit. I fixed both and applied the patch with a couple of additional
formatting changes to make the file checkpatch clean.
Thanks,
Guenter
next prev parent reply other threads:[~2010-11-18 15:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTi=n7f_40ZdLBd4rYC-PgVABHp_gEWKm264n=yjC@mail.gmail.com>
[not found] ` <1289340866.22931.304.camel@groeck-laptop>
[not found] ` <AANLkTinEzMPxEnrEY5K8u5qLkQutU0vdRh_vOGU=QOCF@mail.gmail.com>
[not found] ` <20101116150305.GA4442@ericsson.com>
2010-11-17 11:05 ` [PATCH] hwmon: (lm95241) Rewritten without using macros Davide Rizzo
2010-11-18 15:38 ` Guenter Roeck [this message]
2010-11-18 15:54 ` Davide Rizzo
2010-11-18 16:10 ` Guenter Roeck
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=20101118153856.GA27671@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=elpa.rizzo@gmail.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox