lkml.org 
[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH-2.6.0-test4-mm2]Removal of warning net/ipv4/route.c
Date
Dear Andrew,

The patch removes the following warning.

net/ipv4/route.c: In function `ip_rt_init':
net/ipv4/route.c:2811: warning: passing arg 2 of `create_proc_read_entry' makes integer from pointer without a cast

The patch is against 2.6.0-test4-mm2.
Applied against the file net/ipv4/route.c

Please apply, if found okay !

Regards
KK

================================================
diffstat output:
route.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
================================================
The following is the patch:


--- linux-2.6.0-test4-mm2/net/ipv4/route.orig.c 2003-08-27 13:57:14.000000000 +0530
+++ linux-2.6.0-test4-mm2/net/ipv4/route.c 2003-08-27 17:20:13.000000000 +0530
@@ -2808,7 +2808,7 @@
goto out_enomem;

#ifdef CONFIG_NET_CLS_ROUTE
- create_proc_read_entry("rt_acct", proc_net, 0, ip_rt_acct_read, NULL);
+ create_proc_read_entry("rt_acct", 0, proc_net, ip_rt_acct_read, NULL);
#endif
#endif
#ifdef CONFIG_XFRM

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.023 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site