lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ