To ease use of sparse, as requested by Ingo Oeser.
Signed-off-by: Jon Paul Maloy <[EMAIL PROTECTED]>
---
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html