[PATCH] Re: [PATCH] fix netlink compile breakage

From: SL Baur (steve@kbuxd.necst.nec.co.jp)
Date: Thu Dec 05 2002 - 03:31:46 EST


On lkml you write:

> More viro breakage. I wonder if 'int i' is missing from several other
> files I did not compile...

The other driver patches appear O.K.

> ===== 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

You missed one. This patch is against bk-latest (which has your
netlink_dev patch applied).

--- linus-2.5/net/netlink/netlink_dev.c.orig Thu Dec 5 15:38:42 2002
+++ linus-2.5/net/netlink/netlink_dev.c Thu Dec 5 17:16:56 2002
@@ -225,6 +225,8 @@
 
 void cleanup_module(void)
 {
+ int i;
+
         for (i = 0; i < sizeof(entries)/sizeof(entries[0]); i++)
                 devfs_remove("netlink/%s", entries[i].name);
         for (i = 0; i < 16; i++)

-
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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:22 EST