* Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format
2010-11-05 14:59 [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Jean Delvare
@ 2010-11-05 16:31 ` Guenter Roeck
2010-11-05 16:39 ` Jean Delvare
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2010-11-05 16:31 UTC (permalink / raw)
To: lm-sensors
On Fri, 2010-11-05 at 10:59 -0400, Jean Delvare wrote:
> adapter->id is deprecated and not set by any adapter driver, so this
> was certainly not what the author wanted to use. adapter->nr maybe,
> but as dev_err() already includes this value, as well as the client's
> address, there's no point repeating them. Better print a simple error
> message in plain English words.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
No idea where I got that from.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format
2010-11-05 14:59 [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Jean Delvare
2010-11-05 16:31 ` Guenter Roeck
@ 2010-11-05 16:39 ` Jean Delvare
2010-11-05 16:43 ` Guenter Roeck
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2010-11-05 16:39 UTC (permalink / raw)
To: lm-sensors
On Fri, 5 Nov 2010 09:31:20 -0700, Guenter Roeck wrote:
> On Fri, 2010-11-05 at 10:59 -0400, Jean Delvare wrote:
> > adapter->id is deprecated and not set by any adapter driver, so this
> > was certainly not what the author wanted to use. adapter->nr maybe,
> > but as dev_err() already includes this value, as well as the client's
> > address, there's no point repeating them. Better print a simple error
> > message in plain English words.
> >
> > Signed-off-by: Jean Delvare <khali@linux-fr.org>
> > Cc: Guenter Roeck <guenter.roeck@ericsson.com>
>
> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
>
> No idea where I got that from.
Do you want to take this patch in your tree, or shall I?
In both cases, I would like to get this patch in 2.6.37, as I am about
to formally deprecate i2c-adapter.id, so the current code will trigger
a build-time warning.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format
2010-11-05 14:59 [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Jean Delvare
2010-11-05 16:31 ` Guenter Roeck
2010-11-05 16:39 ` Jean Delvare
@ 2010-11-05 16:43 ` Guenter Roeck
2010-11-05 16:48 ` Guenter Roeck
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2010-11-05 16:43 UTC (permalink / raw)
To: lm-sensors
On Fri, 2010-11-05 at 12:39 -0400, Jean Delvare wrote:
> On Fri, 5 Nov 2010 09:31:20 -0700, Guenter Roeck wrote:
> > On Fri, 2010-11-05 at 10:59 -0400, Jean Delvare wrote:
> > > adapter->id is deprecated and not set by any adapter driver, so this
> > > was certainly not what the author wanted to use. adapter->nr maybe,
> > > but as dev_err() already includes this value, as well as the client's
> > > address, there's no point repeating them. Better print a simple error
> > > message in plain English words.
> > >
> > > Signed-off-by: Jean Delvare <khali@linux-fr.org>
> > > Cc: Guenter Roeck <guenter.roeck@ericsson.com>
> >
> > Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
> >
> > No idea where I got that from.
>
> Do you want to take this patch in your tree, or shall I?
>
Let me take it into my tree. I have another one-line patch for the same
driver in there already anyway, so we can avoid conflicts.
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format
2010-11-05 14:59 [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Jean Delvare
` (2 preceding siblings ...)
2010-11-05 16:43 ` Guenter Roeck
@ 2010-11-05 16:48 ` Guenter Roeck
2010-11-06 20:22 ` Jean Delvare
2010-11-06 22:33 ` Guenter Roeck
5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2010-11-05 16:48 UTC (permalink / raw)
To: lm-sensors
On Fri, 2010-11-05 at 10:59 -0400, Jean Delvare wrote:
> adapter->id is deprecated and not set by any adapter driver, so this
> was certainly not what the author wanted to use. adapter->nr maybe,
> but as dev_err() already includes this value, as well as the client's
> address, there's no point repeating them. Better print a simple error
> message in plain English words.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Applied.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format
2010-11-05 14:59 [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Jean Delvare
` (3 preceding siblings ...)
2010-11-05 16:48 ` Guenter Roeck
@ 2010-11-06 20:22 ` Jean Delvare
2010-11-06 22:33 ` Guenter Roeck
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2010-11-06 20:22 UTC (permalink / raw)
To: lm-sensors
On Fri, 5 Nov 2010 09:48:42 -0700, Guenter Roeck wrote:
> On Fri, 2010-11-05 at 10:59 -0400, Jean Delvare wrote:
> > adapter->id is deprecated and not set by any adapter driver, so this
> > was certainly not what the author wanted to use. adapter->nr maybe,
> > but as dev_err() already includes this value, as well as the client's
> > address, there's no point repeating them. Better print a simple error
> > message in plain English words.
> >
> > Signed-off-by: Jean Delvare <khali@linux-fr.org>
> > Cc: Guenter Roeck <guenter.roeck@ericsson.com>
>
> Applied.
Thanks. Can you please update the LTC4261 entry in wiki/Devices too?
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format
2010-11-05 14:59 [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Jean Delvare
` (4 preceding siblings ...)
2010-11-06 20:22 ` Jean Delvare
@ 2010-11-06 22:33 ` Guenter Roeck
5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2010-11-06 22:33 UTC (permalink / raw)
To: lm-sensors
On Sat, Nov 06, 2010 at 04:22:24PM -0400, Jean Delvare wrote:
> On Fri, 5 Nov 2010 09:48:42 -0700, Guenter Roeck wrote:
> > On Fri, 2010-11-05 at 10:59 -0400, Jean Delvare wrote:
> > > adapter->id is deprecated and not set by any adapter driver, so this
> > > was certainly not what the author wanted to use. adapter->nr maybe,
> > > but as dev_err() already includes this value, as well as the client's
> > > address, there's no point repeating them. Better print a simple error
> > > message in plain English words.
> > >
> > > Signed-off-by: Jean Delvare <khali@linux-fr.org>
> > > Cc: Guenter Roeck <guenter.roeck@ericsson.com>
> >
> > Applied.
>
> Thanks. Can you please update the LTC4261 entry in wiki/Devices too?
>
Done.
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread