From: greg@kroah.com (Greg KH)
To: Martin Schlemmer <azarah@gentoo.org>
Cc: KML <linux-kernel@vger.kernel.org>, sensors@Stimpy.netroedge.com
Subject: [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in sysfs
Date: Thu, 19 May 2005 06:23:52 +0000 [thread overview]
Message-ID: <20030408220444.GA6674@kroah.com> (raw)
In-Reply-To: <1049775078.23992.2.camel@nosferatu.lan>
On Tue, Apr 08, 2003 at 06:11:18AM +0200, Martin Schlemmer wrote:
> On Mon, 2003-04-07 at 23:54, Greg KH wrote:
> > On Mon, Apr 07, 2003 at 11:16:03PM +0200, Martin Schlemmer wrote:
> > > --- drivers/i2c/chips/w83781d.c.orig 2003-04-07 22:53:37.000000000 +0200
> > > +++ drivers/i2c/chips/w83781d.c 2003-04-07 22:53:34.000000000 +0200
> > > @@ -364,7 +364,7 @@
> > > \
> > > w83781d_update_client(client); \
> > > \
> > > - return sprintf(buf,"%ld\n", (long)IN_FROM_REG(data->reg[nr] * 10)); \
> > > + return sprintf(buf,"%ld\n", (long)IN_FROM_REG(data->reg[nr])); \
> >
> > Hm, this patch looks backwards, is it?
> >
> > Also, just as a side note, can you make your patches so that they can be
> > applied with "patch -p1" instead of "patch -p0" which your current ones
> > are? My tools treat -p1 patches much better :)
> >
>
> Yes, sorry, that is reverse. I have to go to work in a bit, so if you
> need me to resend tonight, just ask.
Thanks, I've applied this to my trees.
Oh, I'm getting the following warning when building the driver, want to
look into this?
drivers/i2c/chips/w83781d.c: In function `store_fan_div_reg':
drivers/i2c/chips/w83781d.c:715: warning: `old3' might be used uninitialized in this function
thanks,
greg k-h
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: Martin Schlemmer <azarah@gentoo.org>
Cc: KML <linux-kernel@vger.kernel.org>, sensors@Stimpy.netroedge.com
Subject: Re: [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in sysfs
Date: Tue, 8 Apr 2003 15:04:44 -0700 [thread overview]
Message-ID: <20030408220444.GA6674@kroah.com> (raw)
In-Reply-To: <1049775078.23992.2.camel@nosferatu.lan>
On Tue, Apr 08, 2003 at 06:11:18AM +0200, Martin Schlemmer wrote:
> On Mon, 2003-04-07 at 23:54, Greg KH wrote:
> > On Mon, Apr 07, 2003 at 11:16:03PM +0200, Martin Schlemmer wrote:
> > > --- drivers/i2c/chips/w83781d.c.orig 2003-04-07 22:53:37.000000000 +0200
> > > +++ drivers/i2c/chips/w83781d.c 2003-04-07 22:53:34.000000000 +0200
> > > @@ -364,7 +364,7 @@
> > > \
> > > w83781d_update_client(client); \
> > > \
> > > - return sprintf(buf,"%ld\n", (long)IN_FROM_REG(data->reg[nr] * 10)); \
> > > + return sprintf(buf,"%ld\n", (long)IN_FROM_REG(data->reg[nr])); \
> >
> > Hm, this patch looks backwards, is it?
> >
> > Also, just as a side note, can you make your patches so that they can be
> > applied with "patch -p1" instead of "patch -p0" which your current ones
> > are? My tools treat -p1 patches much better :)
> >
>
> Yes, sorry, that is reverse. I have to go to work in a bit, so if you
> need me to resend tonight, just ask.
Thanks, I've applied this to my trees.
Oh, I'm getting the following warning when building the driver, want to
look into this?
drivers/i2c/chips/w83781d.c: In function `store_fan_div_reg':
drivers/i2c/chips/w83781d.c:715: warning: `old3' might be used uninitialized in this function
thanks,
greg k-h
next prev parent reply other threads:[~2005-05-19 6:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 21:16 [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in sysfs Martin Schlemmer
2005-05-19 6:23 ` Martin Schlemmer
2003-04-07 21:54 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-04-08 4:11 ` Martin Schlemmer
2005-05-19 6:23 ` [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in Martin Schlemmer
2003-04-08 22:04 ` Greg KH [this message]
2005-05-19 6:23 ` [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in sysfs Greg KH
2003-04-09 6:18 ` Martin Schlemmer
2005-05-19 6:23 ` [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in Martin Schlemmer
2003-04-09 7:41 ` [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in sysfs Greg KH
2005-05-19 6:23 ` Greg KH
2003-04-08 22:11 ` Martin Schlemmer
2005-05-19 6:23 ` [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in Martin Schlemmer
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=20030408220444.GA6674@kroah.com \
--to=greg@kroah.com \
--cc=azarah@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@Stimpy.netroedge.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.