From: Al Viro Date: Wed, 15 Nov 2006 05:12:29 +0000 (-0800) Subject: [NET]: Annotate net_srandom(). X-Git-Tag: v2.6.20-rc1~34^2~40^2~350 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64b78a077a71c9b9c0c1b0be699083379783c3d;p=linux-2.6 [NET]: Annotate net_srandom(). Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/linux/net.h b/include/linux/net.h index 15c733b816..6f0dfeba50 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);