From: Guenter Roeck Date: Fri, 05 Nov 2010 16:43:51 +0000 Subject: Re: [lm-sensors] [PATCH] hwmon: (ltc4261) Fix error message format Message-Id: <1288975431.22931.201.camel@groeck-laptop> List-Id: References: <20101105155929.39a5412f@endymion.delvare> In-Reply-To: <20101105155929.39a5412f@endymion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org 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 > > > Cc: Guenter Roeck > > > > Acked-by: Guenter Roeck > > > > 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