From patchwork Fri Mar 20 11:58:38 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Beregalov X-Patchwork-Id: 24748 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org 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 4883CDDEE3 for ; Fri, 20 Mar 2009 22:58:58 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753954AbZCTL6v (ORCPT ); Fri, 20 Mar 2009 07:58:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752903AbZCTL6v (ORCPT ); Fri, 20 Mar 2009 07:58:51 -0400 Received: from wa-out-1112.google.com ([209.85.146.179]:46151 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752353AbZCTL6u (ORCPT ); Fri, 20 Mar 2009 07:58:50 -0400 Received: by wa-out-1112.google.com with SMTP id j5so627171wah.21 for ; Fri, 20 Mar 2009 04:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=u2GY7aM1Eogfxgyd+e3AfaOJf6qkjV2Q9iB/yfxRde8=; b=ipoYaXROAJn607jLJLTWMtP+SgHlVb246M1+lXNzS974RF3grp0XXPrETUT0/Akekq 5n5L3+UkFUvueR6CJDmosC6auGLH8TOgPz4eZXBmLZvNOg3YDwBERYtjgs4YRvJKb3Is yKjOuLK1dsYKEZipa8TYR2HiVtasy7Bc8kucA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=PAm15vDZCj4x352pUqmWIOwH+/Ziuk4bmSW5BtcmvGZ+nmW2xS9Sp8E/Gy7vue1SgL PJqwygkPZ+5pOOFjV6weuzV5asVGhLna/eh5nCMlzHdxo++/ztqNh5T43zvLu+Mv3o8e cFrnDi6sdr8qwLq6+8dv8WaSeurIcI22ToF+w= Received: by 10.114.137.2 with SMTP id k2mr2402551wad.146.1237550326991; Fri, 20 Mar 2009 04:58:46 -0700 (PDT) Received: from orion (ppp83-237-115-123.pppoe.mtu-net.ru [83.237.115.123]) by mx.google.com with ESMTPS id m26sm6969994pof.4.2009.03.20.04.58.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Mar 2009 04:58:46 -0700 (PDT) Date: Fri, 20 Mar 2009 14:58:38 +0300 From: Alexander Beregalov To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Phonet:fix build problem Message-ID: <20090320115838.GA26371@orion> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org net/phonet/pep.c: In function 'pipe_rcv_status': net/phonet/pep.c:262: error: lvalue required as left operand of assignment Signed-off-by: Alexander Beregalov --- net/phonet/pep.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) -- 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/net/phonet/pep.c b/net/phonet/pep.c index 8ad2b53..9a1aefa 100644 --- a/net/phonet/pep.c +++ b/net/phonet/pep.c @@ -259,7 +259,8 @@ static int pipe_rcv_status(struct sock *sk, struct sk_buff *skb) case PN_PEP_IND_ID_MCFC_GRANT_CREDITS: if (pn->tx_fc != PN_MULTI_CREDIT_FLOW_CONTROL) break; - atomic_add(wake = hdr->data[4], &pn->tx_credits); + wake = hdr->data[4]; + atomic_add(wake, &pn->tx_credits); break; default: