From patchwork Sun Jul 12 22:57:38 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: roel kluin X-Patchwork-Id: 29715 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 1CCA4B6F35 for ; Mon, 13 Jul 2009 08:56:19 +1000 (EST) Received: by ozlabs.org (Postfix) id 07ECADDDFB; Mon, 13 Jul 2009 08:56:19 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 8FCB8DDDFA for ; Mon, 13 Jul 2009 08:56:18 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752075AbZGLW4O (ORCPT ); Sun, 12 Jul 2009 18:56:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752070AbZGLW4N (ORCPT ); Sun, 12 Jul 2009 18:56:13 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:52530 "EHLO ey-out-1920.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751691AbZGLW4M (ORCPT ); Sun, 12 Jul 2009 18:56:12 -0400 Received: by ey-out-1920.google.com with SMTP id 3so371069eyh.36 for ; Sun, 12 Jul 2009 15:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=Yqoe661bv+MSxxoK9R1y/Wzi3ziNHPLSJAH1mqmmr48=; b=EDJcUVFxtkBqeUPrygEQGkEICPDBz9tS9BTeZWDvGXJl1stD/ExpciqQa5fQfmjuK1 NL+p+ML+2HfR9Z6p6QOLWiPOWu2l/VsI4Y/pQR8yc+oo+hMYO7w20nnqaholjOui8tuO Ry3FlBkkyQXOAXyOE4PzniuhkT5fzyqrPsZyc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=gIXrHdimve+wV/kMbJNGQkPdlc6obu9SW9BDlkbDlMl2Ea2PlnbPfp6NxT1hoe5TjN +sEJduuKdH2OXVZa8EqKcg0sTYEf2x5uWDdlBwmuXbqUz8KbhsToCAzP66khlAPrsGVf 492nxmgXrjMzN2UPDyh3UR8issZDXQzBQKlL0= Received: by 10.210.86.1 with SMTP id j1mr5416494ebb.61.1247439370885; Sun, 12 Jul 2009 15:56:10 -0700 (PDT) Received: from zoinx.mars (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 24sm8196839eyx.33.2009.07.12.15.56.09 (version=SSLv3 cipher=RC4-MD5); Sun, 12 Jul 2009 15:56:10 -0700 (PDT) Message-ID: <4A5A6A62.6070707@gmail.com> Date: Mon, 13 Jul 2009 00:57:38 +0200 From: Roel Kluin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: jcliburn@gmail.com, atl1-devel@lists.sourceforge.net, Andrew Morton , David Miller , netdev Subject: [PATCH] atl1c: misplaced parenthesis Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix misplaced parenthesis Signed-off-by: Roel Kluin --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c index cd547a2..a383122 100644 --- a/drivers/net/atl1c/atl1c_main.c +++ b/drivers/net/atl1c/atl1c_main.c @@ -1689,7 +1689,7 @@ static void atl1c_clean_rx_irq(struct atl1c_adapter *adapter, u8 que, if (likely(RRS_RXD_IS_VALID(rrs->word3))) { rfd_num = (rrs->word0 >> RRS_RX_RFD_CNT_SHIFT) & RRS_RX_RFD_CNT_MASK; - if (unlikely(rfd_num) != 1) + if (unlikely(rfd_num != 1)) /* TODO support mul rfd*/ if (netif_msg_rx_err(adapter)) dev_warn(&pdev->dev,