linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix ppdev compile breakage
@ 2002-12-05  0:50 Jeff Garzik
  2002-12-05  1:00 ` [PATCH] fix netlink " Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2002-12-05  0:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Alexander Viro, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 27 bytes --]

Cleaning up after viro ;-)

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 315 bytes --]

--- 1.17/drivers/char/ppdev.c	Tue Dec  3 12:53:57 2002
+++ edited/drivers/char/ppdev.c	Wed Dec  4 19:49:05 2002
@@ -751,6 +751,8 @@
 
 static int __init ppdev_init (void)
 {
+	int i;
+
 	if (register_chrdev (PP_MAJOR, CHRDEV, &pp_fops)) {
 		printk (KERN_WARNING CHRDEV ": unable to get major %d\n",
 			PP_MAJOR);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] fix netlink compile breakage
  2002-12-05  0:50 [PATCH] fix ppdev compile breakage Jeff Garzik
@ 2002-12-05  1:00 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2002-12-05  1:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Alexander Viro, Linux Kernel Mailing List

[-- 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-05  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05  0:50 [PATCH] fix ppdev compile breakage Jeff Garzik
2002-12-05  1:00 ` [PATCH] fix netlink " Jeff Garzik

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).