Re: [PATCH 3/5] adt7470: Check input range when sysfs files arewritten
From: Darrick J. Wong
Date: Mon Nov 10 2008 - 19:50:28 EST
On Mon, Nov 10, 2008 at 04:22:14PM -0800, Andrew Morton wrote:
> When writing changelogs, please explain _why_ a change was made, as
> well as what the change does.
Sorry about that. Here's a revision:
Implement correct range checking for adt7470 to prevent userland from
writing impossible values into the chip, and cap out-of-range values per
standard hwmon conventions.
Implement correct rounding of input values per standard hwmon
conventions.
Is that better?
(Same goes for the adt7473 patch.)
> Looking at it, I guess it does change the userspace interface in minor
> ways, so we should merge it into 2.6.28. Ditto
> adt7473-check-inputs-from-sysfs-writes.patch. Agree?
Yes.
--D
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/