Re: 2.5.69-mm6

Andrew Morton (akpm@digeo.com)
Fri, 16 May 2003 14:06:35 -0700


Alistair Strachan <alistair@devzero.co.uk> wrote:
>
> Just a quick note to alert you to a problem versus 2.5.69 virgin. In
> dmesg, I see the following:
>
> failed to register PPP device (0)

ah, thanks. Easily fixed.

diff -puN drivers/net/ppp_generic.c~ppp-warning-fix drivers/net/ppp_generic.c
--- 25/drivers/net/ppp_generic.c~ppp-warning-fix Fri May 16 14:04:48 2003
+++ 25-akpm/drivers/net/ppp_generic.c Fri May 16 14:05:00 2003
@@ -803,7 +803,7 @@ int __init ppp_init(void)
S_IFCHR|S_IRUSR|S_IWUSR, "ppp");
}

- if (!err)
+ if (err)
printk(KERN_ERR "failed to register PPP device (%d)\n", err);
return err;
}

_

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