netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [TIPC]: Changed msg_set_bits params type
@ 2007-04-26 19:57 Jon Paul Maloy
  2007-04-26 21:45 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Paul Maloy @ 2007-04-26 19:57 UTC (permalink / raw)
  To: netdev, David Miller, Stephens, Allan, Jon Paul Maloy, Per Liden

To ease use of sparse, as requested by Ingo Oeser.

Signed-off-by: Jon Paul Maloy <jon.maloy@ericsson.com>
---
 net/tipc/msg.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/tipc/msg.h b/net/tipc/msg.h
index 5c64e55..f9f3dd0 100644
--- a/net/tipc/msg.h
+++ b/net/tipc/msg.h
@@ -69,7 +69,7 @@ static inline void msg_set_word(struct tipc_msg *m, 
u32 w, u32 val)
 }

 static inline void msg_set_bits(struct tipc_msg *m, u32 w,
-                               u32 pos, u32 mask, u32 val)
+                               u32 pos, __be32 mask, __be32 val)
 {
        val = (val & mask) << pos;
        val = htonl(val);
--
1.5.0.5

///jon

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-29  4:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 19:57 [PATCH] [TIPC]: Changed msg_set_bits params type Jon Paul Maloy
2007-04-26 21:45 ` David Miller
2007-04-26 23:50   ` Jon Paul Maloy
2007-04-29  4:24     ` David Miller

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).