1. 20 4月, 2013 1 次提交
  2. 08 12月, 2012 1 次提交
  3. 04 12月, 2012 1 次提交
  4. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  5. 07 4月, 2012 1 次提交
  6. 09 2月, 2012 1 次提交
  7. 06 2月, 2012 1 次提交
  8. 01 2月, 2012 1 次提交
  9. 09 12月, 2011 1 次提交
  10. 14 11月, 2011 1 次提交
  11. 19 10月, 2011 1 次提交
  12. 07 10月, 2011 1 次提交
  13. 23 9月, 2011 1 次提交
  14. 18 8月, 2011 1 次提交
  15. 12 8月, 2011 1 次提交
  16. 08 8月, 2011 3 次提交
  17. 24 7月, 2011 1 次提交
  18. 22 7月, 2011 1 次提交
  19. 06 6月, 2011 1 次提交
  20. 30 4月, 2011 2 次提交
  21. 11 4月, 2011 1 次提交
  22. 31 3月, 2011 1 次提交
  23. 21 1月, 2011 1 次提交
  24. 10 12月, 2010 1 次提交
  25. 21 10月, 2010 1 次提交
  26. 17 10月, 2010 1 次提交
  27. 08 9月, 2010 1 次提交
  28. 03 9月, 2010 1 次提交
  29. 05 8月, 2010 1 次提交
  30. 10 5月, 2010 1 次提交
  31. 07 4月, 2010 1 次提交
  32. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      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: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3
  33. 26 3月, 2010 1 次提交
  34. 26 2月, 2010 1 次提交
  35. 18 2月, 2010 1 次提交
  36. 13 2月, 2010 1 次提交
  37. 11 2月, 2010 1 次提交
    • S
      via-velocity: Fix races on shared interrupts · 3f2e8d9f
      Simon Kagstrom 提交于
      This patch fixes two potential races in the velocity driver:
      
      * Move the ACK and error handler to the interrupt handler. This fixes a
        potential race with shared interrupts when the other device interrupts
        before the NAPI poll handler has finished. As the velocity driver hasn't
        acked it's own interrupt, it will then steal the interrupt from the
        other device.
      
      * Use spin_lock_irqsave in velocity_poll. In the current code, the
        interrupt handler will deadlock if e.g., the NAPI poll handler is
        executing when an interrupt (for another device) comes in since it
        tries to take the already held lock.
      
        Also unlock the spinlock only after enabling the interrupt in
        velocity_poll.
      
      The error path is moved to the interrupt handler since this is where the
      ISR is checked now.
      Signed-off-by: NSimon Kagstrom <simon.kagstrom@netinsight.net>
      Signed-off-by: NAnders Grafstrom <anders.grafstrom@netinsight.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3f2e8d9f