diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-12-11 13:55:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:04 -0500 |
commit | ae445d172ab4d342a0a9d64df499cca8d5ad61b3 (patch) | |
tree | c6c81b9495920ac7b4766126c4f2c77c5db41d91 /net/rxrpc/ar-input.c | |
parent | f831e90971dc942a9f2fcc918a5739eb6d4ef4c5 (diff) |
[RXRPC]: Use cpu_to_be32() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-input.c')
-rw-r--r-- | net/rxrpc/ar-input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index f446d9b9925f..f8a699e92962 100644 --- a/net/rxrpc/ar-input.c +++ b/net/rxrpc/ar-input.c | |||
@@ -595,7 +595,7 @@ dead_call: | |||
595 | read_unlock_bh(&conn->lock); | 595 | read_unlock_bh(&conn->lock); |
596 | 596 | ||
597 | if (sp->hdr.flags & RXRPC_CLIENT_INITIATED && | 597 | if (sp->hdr.flags & RXRPC_CLIENT_INITIATED && |
598 | sp->hdr.seq == __constant_cpu_to_be32(1)) { | 598 | sp->hdr.seq == cpu_to_be32(1)) { |
599 | _debug("incoming call"); | 599 | _debug("incoming call"); |
600 | skb_queue_tail(&conn->trans->local->accept_queue, skb); | 600 | skb_queue_tail(&conn->trans->local->accept_queue, skb); |
601 | rxrpc_queue_work(&conn->trans->local->acceptor); | 601 | rxrpc_queue_work(&conn->trans->local->acceptor); |
@@ -774,7 +774,7 @@ cant_route_call: | |||
774 | _debug("can't route call"); | 774 | _debug("can't route call"); |
775 | if (sp->hdr.flags & RXRPC_CLIENT_INITIATED && | 775 | if (sp->hdr.flags & RXRPC_CLIENT_INITIATED && |
776 | sp->hdr.type == RXRPC_PACKET_TYPE_DATA) { | 776 | sp->hdr.type == RXRPC_PACKET_TYPE_DATA) { |
777 | if (sp->hdr.seq == __constant_cpu_to_be32(1)) { | 777 | if (sp->hdr.seq == cpu_to_be32(1)) { |
778 | _debug("first packet"); | 778 | _debug("first packet"); |
779 | skb_queue_tail(&local->accept_queue, skb); | 779 | skb_queue_tail(&local->accept_queue, skb); |
780 | rxrpc_queue_work(&local->acceptor); | 780 | rxrpc_queue_work(&local->acceptor); |