From: Jon Paul Maloy <jon.maloy@ericsson.com>
To: netdev@vger.kernel.org, David Miller <davem@davemloft.net>,
"Stephens, Allan" <allan.stephens@windriver.com>,
Jon Paul Maloy <jon.maloy@donjonn.com>,
Per Liden <per.liden@ericsson.com>
Subject: [PATCH] [TIPC]: Changed msg_set_bits params type
Date: Thu, 26 Apr 2007 15:57:55 -0400 [thread overview]
Message-ID: <46310443.7090405@ericsson.com> (raw)
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
next reply other threads:[~2007-04-26 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 19:57 Jon Paul Maloy [this message]
2007-04-26 21:45 ` [PATCH] [TIPC]: Changed msg_set_bits params type David Miller
2007-04-26 23:50 ` Jon Paul Maloy
2007-04-29 4:24 ` David Miller
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=46310443.7090405@ericsson.com \
--to=jon.maloy@ericsson.com \
--cc=allan.stephens@windriver.com \
--cc=davem@davemloft.net \
--cc=jon.maloy@donjonn.com \
--cc=netdev@vger.kernel.org \
--cc=per.liden@ericsson.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.