From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: (lm90) Rearrange code to no longer
Date: Wed, 29 Sep 2010 17:05:35 +0000 [thread overview]
Message-ID: <20100929170535.GB12475@ericsson.com> (raw)
In-Reply-To: <1284780642-7291-1-git-send-email-guenter.roeck@ericsson.com>
On Wed, Sep 29, 2010 at 12:48:13PM -0400, Jean Delvare wrote:
> Hi Guenter,
>
> On Fri, 17 Sep 2010 20:30:42 -0700, Guenter Roeck wrote:
> > Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> > ---
> > drivers/hwmon/lm90.c | 523 ++++++++++++++++++++++++-------------------------
> > 1 files changed, 256 insertions(+), 267 deletions(-)
> >
>
> Wow. Have you noticed how GNU diff gets this patch completely wrong? I
> use quilt and quilt relies in GNU diff, and when refreshing or viewing
> the patch, I get an output which is different from what you sent,
> larger and less readable. It includes oddities such as:
>
> - if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
> - return -ENODEV;
> + if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
> + return -ENODEV;
>
> And this isn't a bug in a specific version... Tried it on 4 different
> versions of GNU diff on 2 completely different distributions. "diff -d"
> gets it right, but the default algorithm does not.
>
Interesting. I had noticed similar problems before, but for kernel development
I use only git so I didn't see it.
> I'll report the bug to the diffutils guys. Meanwhile, your patch is
> nice and I'll apply it...
>
Thanks ...
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2010-09-29 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-18 3:30 [lm-sensors] [PATCH] hwmon: (lm90) Rearrange code to no longer Guenter Roeck
2010-09-29 16:48 ` Jean Delvare
2010-09-29 17:05 ` Guenter Roeck [this message]
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=20100929170535.GB12475@ericsson.com \
--to=guenter.roeck@ericsson.com \
--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.