2002-12-05 08:21:06

by SL Baur

[permalink] [raw]
Subject: [PATCH] Re: [PATCH] fix netlink compile breakage

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