[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64N.0710231828180.8693@blysk.ds.pg.gda.pl>
Date: Tue, 23 Oct 2007 18:32:59 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Roel Kluin <12o3l@...cali.nl>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tty_ioctl: Fix the baud_table check in encode_baud_rate
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@...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