[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46310443.7090405@ericsson.com>
Date: Thu, 26 Apr 2007 15:57:55 -0400
From: Jon Paul Maloy <jon.maloy@...csson.com>
To: netdev@...r.kernel.org, David Miller <davem@...emloft.net>,
"Stephens, Allan" <allan.stephens@...driver.com>,
Jon Paul Maloy <jon.maloy@...jonn.com>,
Per Liden <per.liden@...csson.com>
Subject: [PATCH] [TIPC]: Changed msg_set_bits params type
To ease use of sparse, as requested by Ingo Oeser.
Signed-off-by: Jon Paul Maloy <jon.maloy@...csson.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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists