Re: [PATCH 4/5] adt7473: Check inputs from sysfs writes

From: Andrew Morton
Date: Fri Nov 07 2008 - 14:21:29 EST


On Fri, 07 Nov 2008 10:56:41 -0800
"Darrick J. Wong" <djwong@xxxxxxxxxx> wrote:

> +#define ROUND_DIV(x, divisor) (((x) + ((divisor) / 2)) / (divisor))

It might make sense to rename this to ROUND_CLOSEST, fix the
double-evaluation and whap it into kernel.h?

--
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/