From: Alexander Beregalov <a.beregalov@gmail.com>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Phonet:fix build problem
Date: Fri, 20 Mar 2009 14:58:38 +0300 [thread overview]
Message-ID: <20090320115838.GA26371@orion> (raw)
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 <a.beregalov@gmail.com>
---
net/phonet/pep.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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:
next reply other threads:[~2009-03-20 11:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 11:58 Alexander Beregalov [this message]
2009-03-21 23:59 ` [PATCH] Phonet:fix build problem David Miller
2009-03-22 0:19 ` Alexander Beregalov
2009-03-22 3:58 ` James Bottomley
2009-03-22 16:06 ` Kyle McMartin
2009-03-31 2:41 ` Kyle McMartin
2009-03-31 3:06 ` James Bottomley
2009-03-31 3:07 ` Kyle McMartin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090320115838.GA26371@orion \
--to=a.beregalov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).