projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c183f
)
[NET]: Annotate net_srandom().
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:12:29 +0000
(21:12 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:22:57 +0000
(21:22 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/net.h
b/include/linux/net.h
index 15c733b816f0820afcef4d615ed11cfa7b43cd76..6f0dfeba509a40da8d0a724b52d0ac0c8c450219 100644
(file)
--- a/
include/linux/net.h
+++ b/
include/linux/net.h
@@
-196,7
+196,7
@@
extern struct socket *sockfd_lookup(int fd, int *err);
extern int net_ratelimit(void);
#define net_random() random32()
-#define net_srandom(seed) srandom32(seed)
+#define net_srandom(seed) srandom32(
(__force u32)
seed)
extern int kernel_sendmsg(struct socket *sock, struct msghdr *msg,
struct kvec *vec, size_t num, size_t len);