diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-14 21:12:29 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:22:57 -0800 |
commit | a64b78a077a71c9b9c0c1b0be699083379783c3d (patch) | |
tree | c91a18fcbde001ddd1b129075446da28a90beb07 /include/linux/net.h | |
parent | 47c183fa5ea7feebc356da8ccbd9105a41f8e534 (diff) | |
download | linux-3.10-a64b78a077a71c9b9c0c1b0be699083379783c3d.tar.gz linux-3.10-a64b78a077a71c9b9c0c1b0be699083379783c3d.tar.bz2 linux-3.10-a64b78a077a71c9b9c0c1b0be699083379783c3d.zip |
[NET]: Annotate net_srandom().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 15c733b816f..6f0dfeba509 100644 --- 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); |