From: David Miller <davem@davemloft.net>
To: dhowells@redhat.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6]
Date: Thu, 26 Apr 2007 20:20:37 -0700 (PDT) [thread overview]
Message-ID: <20070426.202037.94552269.davem@davemloft.net> (raw)
In-Reply-To: <20070426.201213.85816532.davem@davemloft.net>
From: David Miller <davem@davemloft.net>
Date: Thu, 26 Apr 2007 20:12:13 -0700 (PDT)
> And even more problems, what the heck are you doing here?
And even more:
commit 68c708fd5e90f6d178c84bb7e641589eb2842319
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Thu Apr 26 20:20:21 2007 -0700
[RXRPC]: Fix pointers passed to bitops.
CC [M] net/rxrpc/ar-input.o
net/rxrpc/ar-input.c: In function ^[$,1rx^[(Brxrpc_fast_process_data^[$,1ry^[(B:
net/rxrpc/ar-input.c:171: warning: passing argument 2 of ^[$,1rx^[(B__test_and_set_bit^[$,1ry^[(B from incompatible pointer type
net/rxrpc/ar-input.c:180: warning: passing argument 2 of ^[$,1rx^[(B__clear_bit^[$,1ry^[(B from incompatible pointer type
net/rxrpc/ar-input.c:218: warning: passing argument 2 of ^[$,1rx^[(B__clear_bit^[$,1ry^[(B from incompatible pointer type
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c
index ceb5d61..91b5bbb 100644
--- a/net/rxrpc/ar-input.c
+++ b/net/rxrpc/ar-input.c
@@ -168,7 +168,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call,
/* we may already have the packet in the out of sequence queue */
ackbit = seq - (call->rx_data_eaten + 1);
ASSERTCMP(ackbit, >=, 0);
- if (__test_and_set_bit(ackbit, &call->ackr_window)) {
+ if (__test_and_set_bit(ackbit, call->ackr_window)) {
_debug("dup oos #%u [%u,%u]",
seq, call->rx_data_eaten, call->rx_data_post);
ack = RXRPC_ACK_DUPLICATE;
@@ -177,7 +177,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call,
if (seq >= call->ackr_win_top) {
_debug("exceed #%u [%u]", seq, call->ackr_win_top);
- __clear_bit(ackbit, &call->ackr_window);
+ __clear_bit(ackbit, call->ackr_window);
ack = RXRPC_ACK_EXCEEDS_WINDOW;
goto discard_and_ack;
}
@@ -215,7 +215,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call,
ret = rxrpc_queue_rcv_skb(call, skb, false, terminal);
if (ret < 0) {
if (ret == -ENOMEM || ret == -ENOBUFS) {
- __clear_bit(ackbit, &call->ackr_window);
+ __clear_bit(ackbit, call->ackr_window);
ack = RXRPC_ACK_NOSPACE;
goto discard_and_ack;
}
next prev parent reply other threads:[~2007-04-27 3:20 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 19:54 [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 01/14] cancel_delayed_work: use del_timer() instead of del_timer_sync() [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 02/14] AF_RXRPC: Key facility changes for AF_RXRPC [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 03/14] AF_RXRPC: Make it possible to merely try to cancel timers from a module [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 04/14] AF_RXRPC: Provide secure RxRPC sockets for use by userspace and kernel both [net-2.6] David Howells
2007-04-27 7:52 ` netdev file size restrictions??? Was: Re: [PATCH 04/14] AF_RXRPC: Provide secure RxRPC sockets for Bill Fink
2007-04-27 7:55 ` David Miller
2007-04-26 19:54 ` [PATCH 05/14] AFS: Clean up the AFS sources [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 06/14] AF_RXRPC: Add an interface to the AF_RXRPC module for the AFS filesystem to use [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 07/14] AF_RXRPC: Make the in-kernel AFS filesystem use AF_RXRPC [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 08/14] AF_RXRPC: Delete the old RxRPC code. [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 09/14] AFS: Handle multiple mounts of an AFS superblock correctly [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 10/14] AFS: Add security support [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 11/14] AFS: Update the AFS fs documentation [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 12/14] AFS: Add support for the CB.GetCapabilities operation [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 13/14] AFS: Implement the CB.InitCallBackState3 " David Howells
2007-04-26 19:55 ` [PATCH 14/14] AFS: Add "directory write" support [net-2.6] David Howells
2007-04-26 23:15 ` [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6] David Miller
2007-04-27 3:08 ` David Miller
2007-04-27 3:12 ` David Miller
2007-04-27 3:18 ` David Miller
2007-04-27 11:59 ` David Howells
2007-04-27 3:20 ` David Miller [this message]
2007-04-27 12:03 ` David Howells
2007-04-27 3:41 ` David Miller
2007-04-27 14:28 ` David Howells
2007-04-27 11:30 ` David Howells
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=20070426.202037.94552269.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dhowells@redhat.com \
--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).