From: Al Viro Date: Wed, 15 Nov 2006 05:12:29 +0000 (-0800) Subject: [NET]: Annotate net_srandom(). X-Git-Tag: v2.6.20-rc2~6^2~13^2~355 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a64b78a077a71c9b9c0c1b0be699083379783c3d;p=linux-2.6-omap-h63xx.git [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 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);