Commit a64b78a0 authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[NET]: Annotate net_srandom().


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47c183fa
...@@ -196,7 +196,7 @@ extern struct socket *sockfd_lookup(int fd, int *err); ...@@ -196,7 +196,7 @@ extern struct socket *sockfd_lookup(int fd, int *err);
extern int net_ratelimit(void); extern int net_ratelimit(void);
#define net_random() random32() #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, extern int kernel_sendmsg(struct socket *sock, struct msghdr *msg,
struct kvec *vec, size_t num, size_t len); struct kvec *vec, size_t num, size_t len);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment