Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758001AbYFSIVd (ORCPT ); Thu, 19 Jun 2008 04:21:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753153AbYFSIVX (ORCPT ); Thu, 19 Jun 2008 04:21:23 -0400 Received: from mout.perfora.net ([74.208.4.197]:53040 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750950AbYFSIVV (ORCPT ); Thu, 19 Jun 2008 04:21:21 -0400 Date: Thu, 19 Jun 2008 03:20:05 -0500 (CDT) From: "R.L. Horn" X-X-Sender: rlhorn@hani.compact.internal To: Alan Cox cc: Hans-Peter Jansen , linux-kernel@vger.kernel.org Subject: Re: 2.6.25.3: serial problem (minicom) In-Reply-To: <20080618185534.5f969f63@lxorguk.ukuu.org.uk> Message-ID: References: <20080617095827.0f4f77de@lxorguk.ukuu.org.uk> <200806180215.45925.hpj@urpla.net> <20080618185534.5f969f63@lxorguk.ukuu.org.uk> User-Agent: Alpine 1.00 (LNX 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Provags-ID: V01U2FsdGVkX19QoWDa8IQl7j9PxF0c0KAsYo92aeM/5gv0N5o i0ikcbPGtxwrv65QPfApAHO5s+iZcx50/P70Y0HhAHyfTl9wWP SE3Gvr85bhO4LRraV93RQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1195 Lines: 28 On Wed, 18 Jun 2008, Alan Cox wrote: > I don't generally work via git so I don't offhand know the changeset id. > I guess it could do. If its causing this many actual problem cases it > might also want to go into stable. I vote for nipping it in the bud ASAP. There are currently eight stable kernel versions that exhibit this bug (which I believe is fairly serious, in breadth, if not depth), and it already has Adam Lackorzynski and me scratching our heads trying to figure out what, if anything, to do with minicom to accomodate it. I would suggest one change to the 26-rc version. Rather than bypassing tty_termios_encode_baud_rate() entirely in the B0 case, why not do something like: if (tty_termios_baud_rate(termios)) tty_termios_encode_baud_rate(termios, baud, baud); else tty_termios_encode_baud_rate(termios, 0, 0); to ensure that c_ispeed and c_ospeed are set (just for the sake of consistency)? -- 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/