Re: [PATCH] tty_ioctl: Fix the baud_table check in encode_baud_rate

From: Maciej W. Rozycki
Date: Tue Oct 23 2007 - 13:33:21 EST


On Wed, 17 Oct 2007, Roel Kluin wrote:

> if (oclose >= abs(obaud - baud_table[i])) {
>
> should work as well

Hmm, I am not sure if it is clearer or produces better code, but send a
patch -- I will not object.

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