Was borking on dummy.c. This seemed to fix it. Verification please?

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test11/include -Wall
-Wstrict-prototypes -O6 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.0-test11/include/linux/modversions.h   -c -o dummy.o
dummy.c
dummy.c: In function `dummy_init_module':
dummy.c:103: invalid type argument of `->'
make[2]: *** [dummy.o] Error 1


Linus Torvalds wrote:
> 
> Synching up with Alan and various other stuff. The most important one
> being the fix to the inode dirty block list.
> 
>                 Linus
> 

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               [EMAIL PROTECTED]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [EMAIL PROTECTED]
=====================================================================
--- linux/drivers/net/dummy.c.orig      Sun Dec  3 21:59:18 2000
+++ linux/drivers/net/dummy.c   Sun Dec  3 22:52:13 2000
@@ -53,6 +53,8 @@
 
 static int __init dummy_init(struct net_device *dev)
 {
+       SET_MODULE_OWNER(dev);
+
        /* Initialize the device structure. */
        dev->hard_start_xmit    = dummy_xmit;
 
@@ -100,7 +102,6 @@
        int err;
 
        dev_dummy.init = dummy_init;
-       SET_MODULE_OWNER(&dev_dummy);
 
        /* Find a name for this unit */
        err=dev_alloc_name(&dev_dummy,"dummy%d");

Reply via email to