lkml.org 
[lkml]   [2000]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject2.4.0.12.4: drivers/net/dummy.c fails compile
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 12:51    [from the cache]
©2003-2011 Jasper Spaans