From: Jeff Garzik <jgarzik@pobox.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Alexander Viro <viro@math.psu.edu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix netlink compile breakage
Date: Wed, 04 Dec 2002 20:00:17 -0500 [thread overview]
Message-ID: <3DEEA521.5080101@pobox.com> (raw)
In-Reply-To: <3DEEA2EF.3040004@pobox.com>
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
More viro breakage. I wonder if 'int i' is missing from several other
files I did not compile...
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 551 bytes --]
===== net/netlink/netlink_dev.c 1.10 vs edited =====
--- 1.10/net/netlink/netlink_dev.c Mon Dec 2 18:45:41 2002
+++ edited/net/netlink/netlink_dev.c Wed Dec 4 19:58:43 2002
@@ -180,7 +180,7 @@
{"route6", 11},
{"ip6_fw", 13},
{"dnrtmsg", 13},
-}
+};
static void __init make_devfs_entries (const char *name, int minor)
{
@@ -192,6 +192,8 @@
int __init init_netlink(void)
{
+ int i;
+
if (register_chrdev(NETLINK_MAJOR,"netlink", &netlink_fops)) {
printk(KERN_ERR "netlink: unable to get major %d\n", NETLINK_MAJOR);
return -EIO;
prev parent reply other threads:[~2002-12-05 0:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 0:50 [PATCH] fix ppdev compile breakage Jeff Garzik
2002-12-05 1:00 ` Jeff Garzik [this message]
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=3DEEA521.5080101@pobox.com \
--to=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=viro@math.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).