Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757060AbYLDXEy (ORCPT ); Thu, 4 Dec 2008 18:04:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752001AbYLDXEn (ORCPT ); Thu, 4 Dec 2008 18:04:43 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:50658 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751768AbYLDXEm (ORCPT ); Thu, 4 Dec 2008 18:04:42 -0500 Date: Thu, 04 Dec 2008 15:04:43 -0800 (PST) Message-Id: <20081204.150443.30081008.davem@davemloft.net> To: will.newton@gmail.com Cc: alan@lxorguk.ukuu.org.uk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tty: Flags should be accessed via the foo_bit interfaces From: David Miller In-Reply-To: <87a5b0800812040750p6231b0c9s2f664345b23596f0@mail.gmail.com> References: <20081204154030.27980.82380.stgit@localhost.localdomain> <87a5b0800812040750p6231b0c9s2f664345b23596f0@mail.gmail.com> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1053 Lines: 28 From: "Will Newton" Date: Thu, 4 Dec 2008 15:50:29 +0000 > On Thu, Dec 4, 2008 at 3:41 PM, Alan Cox wrote: > > @@ -515,10 +515,9 @@ sl_close(struct net_device *dev) > > struct slip *sl = netdev_priv(dev); > > > > spin_lock_bh(&sl->lock); > > - if (sl->tty) { > > + if (sl->tty) > > + clear_bit(TTY_DO_WRITE_WAKEUP, &sl->tty->flags); > > /* TTY discipline is running. */ > > - sl->tty->flags &= ~(1 << TTY_DO_WRITE_WAKEUP); > > - } > > The indentation of the comment looks like it might be wrong here. Indeed. In fact it's now transposed with the operation it describes, and thus the braces should probably be preserved here as well. Alan could you please fix this up? Thanks! -- 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/