From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: linux-next: build failure after merge of the final tree (tty tree related) Date: Thu, 26 Jul 2012 01:23:37 +0100 Message-ID: <20120726012337.13b78bc8@bob.linux.org.uk> References: <20120720150237.af0d271624511fc18705f287@canb.auug.org.au> <20120725224731.GA14020@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com ([143.182.124.37]:14337 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448Ab2GZAG2 (ORCPT ); Wed, 25 Jul 2012 20:06:28 -0400 In-Reply-To: <20120725224731.GA14020@kroah.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Greg KH Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org > > if (serial->type->set_termios) { > > - tty->termios->c_cflag = cflag; > > - tty_termios_encode_baud_rate(tty->termios, > > baud, baud); > > + tty->termios.c_cflag = cflag; > > + > > tty_termios_encode_baud_rate(&tty->termios, baud, baud); > > memset(&dummy, 0, sizeof(struct ktermios)); > > serial->type->set_termios(tty, port, &dummy); > > Alan, any objection to this? The fix looks correct to me.