Re: [KJ][patch 3/3] VIDC20: use abs() from kernel.h instead of own definition

From: Matthew Wilcox
Date: Thu Aug 30 2007 - 07:18:02 EST


On Thu, Aug 30, 2007 at 12:40:38PM +0200, andre@xxxxxxxxxx wrote:
> - diff_int = my_abs(rate_ext-rate);
> - diff_ext = my_abs(rate_int-rate);
> + diff_int = abs(rate_ext-rate);
> + diff_ext = abs(rate_int-rate);

Nothing to do with the patch, but is this really correct? Surely it
should be diff_ext = abs(rate_ext-rate) ?

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
-
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/