[NET]: Annotate net_srandom().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
47c183fa5e
commit
a64b78a077
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue