19 Nov, 2011

1 commit

  • The slicoss driver uses network interfaces so it should depend
    on NET. Fixes the following build errors:

    ERROR: "eth_change_mtu" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "eth_validate_addr" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "register_netdev" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "alloc_etherdev_mqs" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "__netif_schedule" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "netif_rx" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "eth_type_trans" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "skb_put" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "skb_pull" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "__alloc_skb" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "free_netdev" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "unregister_netdev" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "consume_skb" [drivers/staging/slicoss/slicoss.ko] undefined!
    ERROR: "dev_kfree_skb_irq" [drivers/staging/slicoss/slicoss.ko] undefined!

    Signed-off-by: Randy Dunlap
    Cc: Lior Dotan
    Cc: Christopher Harrer
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

26 Oct, 2011

1 commit

  • Mark Einon points out that the Kconfig option for NETDEV_1000 no longer
    exists, and the merge of the staging drivers should have removed that
    for the et131x driver.

    And while checking for it, I noticed that slicoss had the same stale
    dependency. Remove that one too.

    Reported-by: Mark Einon
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

18 Aug, 2011

1 commit


31 Mar, 2011

1 commit


30 Sep, 2010

1 commit

  • Freeing netdev without free_netdev() leads to net, tx leaks.
    I might lead to dereferencing freed pointer.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    @@
    struct net_device* dev;
    @@

    -kfree(dev)
    +free_netdev(dev)

    Signed-off-by: Vasiliy Kulikov
    Acked-by: Denis Kirjanov
    Signed-off-by: Greg Kroah-Hartman

    Vasiliy Kulikov
     

01 Sep, 2010

1 commit


03 Aug, 2010

1 commit


23 Jul, 2010

1 commit


09 Jul, 2010

4 commits


04 Apr, 2010

1 commit

  • Converts the list and the core manipulating with it to be the same as uc_list.

    +uses two functions for adding/removing mc address (normal and "global"
    variant) instead of a function parameter.
    +removes dev_mcast.c completely.
    +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
    manipulation with lists on a sandbox (used in bonding and 80211 drivers)

    Signed-off-by: Jiri Pirko
    Signed-off-by: David S. Miller

    Jiri Pirko
     

05 Mar, 2010

1 commit


04 Mar, 2010

10 commits


19 Feb, 2010

1 commit


13 Feb, 2010

1 commit


12 Dec, 2009

1 commit

  • The definition of slic_netdev_ops has initializations of a local function
    and eth_mac_addr for its ndo_set_mac_address field. This change uses only
    the local function.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r@
    identifier I, s, fld;
    position p0,p;
    expression E;
    @@

    struct I s =@p0 { ... .fld@p = E, ...};

    @s@
    identifier I, s, r.fld;
    position r.p0,p;
    expression E;
    @@

    struct I s =@p0 { ... .fld@p = E, ...};

    @script:python@
    p0 << r.p0;
    fld << r.fld;
    ps << s.p;
    pr << r.p;
    @@

    if int(ps[0].line)!=int(pr[0].line) or int(ps[0].column)!=int(pr[0].column):
    cocci.print_main(fld,p0)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Greg Kroah-Hartman

    Julia Lawall
     

16 Sep, 2009

1 commit


06 Jul, 2009

1 commit


20 Jun, 2009

2 commits


18 Apr, 2009

3 commits


07 Apr, 2009

1 commit


04 Apr, 2009

5 commits