31 Mar, 2011

1 commit


18 Jan, 2011

1 commit

  • While building latest Linus git, I hit the following:

    CC [M] drivers/staging/bcm/Qos.o
    drivers/staging/bcm/Qos.c: In function ‘PruneQueue’:
    drivers/staging/bcm/Qos.c:367: error: ‘struct netdev_queue’ has no member named ‘tx_dropped’
    drivers/staging/bcm/Qos.c: In function ‘flush_all_queues’:
    drivers/staging/bcm/Qos.c:416: error: ‘struct netdev_queue’ has no member named ‘tx_dropped’
    make[5]: *** [drivers/staging/bcm/Qos.o] Error 1
    make[4]: *** [drivers/staging/bcm] Error 2
    make[3]: *** [drivers/staging] Error 2

    As well as:

    CC [M] drivers/staging/bcm/Transmit.o
    drivers/staging/bcm/Transmit.c: In function ‘SetupNextSend’:
    drivers/staging/bcm/Transmit.c:163: error: ‘struct netdev_queue’ has no member named ‘tx_bytes’
    drivers/staging/bcm/Transmit.c:164: error: ‘struct netdev_queue’ has no member named ‘tx_packets’
    make[2]: *** [drivers/staging/bcm/Transmit.o] Error 1

    tx_dropped/tx_bytes_tx_packets were removed in commit 1ac9ad13. This patch
    converts bcm to use net_device_stats instead of netdev_queue.

    Acked-by: Stephen Hemminger
    Acked-by: Eric Dumazet
    Signed-off-by: Andres Salomon
    Signed-off-by: Linus Torvalds

    Andres Salomon
     

02 Nov, 2010

5 commits


01 Nov, 2010

3 commits


30 Oct, 2010

1 commit


08 Oct, 2010

1 commit

  • "status" is used as an index into the Adapter->PackInfo[] array, which
    has NO_OF_QUEUES elements.

    This code actually works OK. The SearchSfid() function always returns
    a valid index or it returns NO_OF_QUEUES + 1. But it looks sloppy and
    it makes the static checkers complain.

    Signed-off-by: Dan Carpenter
    Signed-off-by: Greg Kroah-Hartman

    Dan Carpenter
     

05 Oct, 2010

1 commit

  • This marks up the code where sparse complains in most cases.
    Most of the changes are in the ioctl handling code, which
    gets __user annotations, finding one unchecked user access.

    The rest is mostly about marking functions static when they
    are only used in one file.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

09 Sep, 2010

1 commit

  • The Sprint 4G network uses a Wimax dongle with Beecem
    chipset. The driver is typical of out of tree drivers, but
    maybe useful for people, and the hardware is readily available.

    Here is a staging ready version (i.e warts and all)

    0. Started with Rel_5.2.7.3P1_USB from Sprint4GDeveloperPack-1.1
    1. Consolidated files in staging
    2. Remove Dos cr/lf
    3. Remove unnecessary ioctl from usbbcm_fops

    Applied patches that were in the developer pack, surprising
    there were ones for 2.6.35 already.

    This is compile tested only, see TODO for what still needs
    to be done.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Greg Kroah-Hartman

    Stephen Hemminger