lkml.org 
[lkml]   [2000]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: test12-pre4
    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");
    \
     
     \ /
      Last update: 2005-03-22 12:51    [W:0.033 / U:90.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site