Re: test12-pre4

From: Mohammad A. Haque (mhaque@haque.net)
Date: Sun Dec 03 2000 - 22:57:46 EST


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/ mhaque@haque.net

"Alcohol and calculus don't mix. Project Lead Don't drink and derive." --Unknown http://wm.themes.org/ batmanppc@themes.org =====================================================================

--- 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");

- 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:10 EST