2.4.0.12.4: drivers/net/dummy.c fails compile

From: Horst von Brand (vonbrand@inf.utfsm.cl)
Date: Mon Dec 04 2000 - 11:33:24 EST


SPARC64, Red Hat 6.2 + local updates

dummy.c: In function `dummy_init_module':
dummy.c:103: invalid type argument of `->'

A patch follows:

--- linux-2.4.0-test/drivers/net/dummy.c~ Mon Dec 4 09:03:05 2000
+++ linux-2.4.0-test/drivers/net/dummy.c Mon Dec 4 13:27:23 2000
@@ -100,7 +100,7 @@
         int err;
 
         dev_dummy.init = dummy_init;
- SET_MODULE_OWNER(&dev_dummy);
+ SET_MODULE_OWNER((&dev_dummy));
 
         /* Find a name for this unit */
         err=dev_alloc_name(&dev_dummy,"dummy%d");

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:11 EST