From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751399AbZHMES6 (ORCPT ); Thu, 13 Aug 2009 00:18:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751153AbZHMES5 (ORCPT ); Thu, 13 Aug 2009 00:18:57 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:43274 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751036AbZHMES4 (ORCPT ); Thu, 13 Aug 2009 00:18:56 -0400 Date: Wed, 12 Aug 2009 21:19:07 -0700 (PDT) Message-Id: <20090812.211907.124112530.davem@davemloft.net> To: julia@diku.dk Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] drivers/net/tokenring: Use status field rather than state field From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.2.51 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 From: Julia Lawall Date: Sat, 8 Aug 2009 08:47:33 +0200 (CEST) > From: Julia Lawall > > In general in this file, it is the status field, not the state field, that > contains values like OPEN and CLOSED. Indeed, in the first error case, it > is the field status that is initialized. I have thus assumed that all of > the error handling code should be the same, and moved it to the end of the > function to emphasize its commonality. > > Signed-off-by: Julia Lawall Applied.