lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 28 Jul 2009 15:50:49 +0100
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Jean Delvare <khali@...ux-fr.org>
Cc:	Samuel Ortiz <sameo@...ux.intel.com>, linux-kernel@...r.kernel.org,
	lm-sensors@...sensors.org
Subject: Re: [PATCH] hwmon: WM831x PMIC hardware monitoring driver

On Tue, Jul 28, 2009 at 04:26:58PM +0200, Jean Delvare wrote:
> On Tue, 28 Jul 2009 15:11:00 +0100, Mark Brown wrote:

> > +static ssize_t show_batt_temp(struct device *dev,
> > +			      struct device_attribute *attr, char *buf)
> > +{

...

> > +	/* The conversion depends on the battery, leave to userspace but
> > +	 * report as voltage for ABI reasons. */
> > +	return sprintf(buf, "%d\n", DIV_ROUND_CLOSEST(ret, 1000));
> > +}

> If I am not mistaken, the above function is an exact copy of
> show_voltage(), so you might as well use it?

It is now, yes, except for the comment explaining why we're reporting as
a voltage.

> All the rest looks good to me now, so:

> Acked-by: Jean Delvare <khali@...ux-fr.org>

> And as I said before for the wm8350-hwmon driver: I can pick this patch
> and push it to Linux in 2.6.32 if you want, but if you want it to take
> a different route this is equally fine with me. Just tell me if you
> want me to pick it.

I'm more than happy for you to take both - the only reason that I asked
you to hold off on the wm8350 patch originally was that I knew I was
going to be releasing this driver and there would be collisions with the
Kconfig stuff which was due to be released very soon.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ