From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH-2.6.0-test4-mm2]Removal of warning net/ipv4/route.c
Date: Wed, 27 Aug 2003 17:53:49 +0530 [thread overview]
Message-ID: <200308271753.49644.krishnakumar@naturesoft.net> (raw)
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
reply other threads:[~2003-08-27 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200308271753.49644.krishnakumar@naturesoft.net \
--to=krishnakumar@naturesoft.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox