lkml.org 
[lkml]   [2007]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-23 19:35    [W:0.038 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site