1. 30 3月, 2009 1 次提交
  2. 10 3月, 2009 1 次提交
  3. 18 2月, 2009 3 次提交
    • H
      drivers/net/hamradio: fix sparse warning: symbol shadows an earlier one · 9b329f18
      Hannes Eder 提交于
      Impact: Rename inner scrope variable.
      
      Fix this sparse warning:
        drivers/net/hamradio/yam.c:856:35: warning: symbol 'dev' shadows an earlier one
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9b329f18
    • H
      drivers/net/hamradio: fix sparse warning: context imbalance · e334f564
      Hannes Eder 提交于
      Impact: Attribute functions with __acquires(...) resp. __releases(...).
      
      Fix this sparse warnings:
        drivers/net/hamradio/bpqether.c:387:13: warning: context imbalance in 'bpq_seq_start' - wrong count at exit
        drivers/net/hamradio/bpqether.c:419:13: warning: context imbalance in 'bpq_seq_stop' - unexpected unlock
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e334f564
    • H
      drivers/net/hamradio: fix warning: format not a string literal and no ... · eb33ae24
      Hannes Eder 提交于
      Impact: Use 'static const char[]' instead of 'static char[]' and while
      being at it fix an issue in 'mkiss_init_driver', where in case of an
      error the status code was not passed to printk.
      
      Fix this warnings:
        drivers/net/hamradio/6pack.c: In function 'sixpack_init_driver':
        drivers/net/hamradio/6pack.c:802: warning: format not a string literal and no format arguments
        drivers/net/hamradio/bpqether.c: In function 'bpq_init_driver':
        drivers/net/hamradio/bpqether.c:609: warning: format not a string literal and no format arguments
        drivers/net/hamradio/mkiss.c: In function 'mkiss_init_driver':
        drivers/net/hamradio/mkiss.c:988: warning: format not a string literal and no format arguments
        drivers/net/hamradio/mkiss.c:991: warning: format not a string literal and no format arguments
        drivers/net/hamradio/scc.c: In function 'scc_init_driver':
        drivers/net/hamradio/scc.c:2109: warning: format not a string literal and no format arguments
        drivers/net/hamradio/yam.c: In function 'yam_init_driver':
        drivers/net/hamradio/yam.c:1094: warning: format not a string literal and no format arguments
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb33ae24
  4. 01 2月, 2009 1 次提交
  5. 22 1月, 2009 15 次提交
  6. 11 1月, 2009 1 次提交
  7. 17 12月, 2008 1 次提交
  8. 20 11月, 2008 1 次提交
  9. 04 11月, 2008 1 次提交
  10. 28 10月, 2008 1 次提交
  11. 16 10月, 2008 1 次提交
  12. 07 8月, 2008 1 次提交
  13. 23 7月, 2008 1 次提交
  14. 22 7月, 2008 1 次提交
  15. 21 7月, 2008 1 次提交
    • A
      tty: Ldisc revamp · a352def2
      Alan Cox 提交于
      Move the line disciplines towards a conventional ->ops arrangement.  For
      the moment the actual 'tty_ldisc' struct in the tty is kept as part of
      the tty struct but this can then be changed if it turns out that when it
      all settles down we want to refcount ldiscs separately to the tty.
      
      Pull the ldisc code out of /proc and put it with our ldisc code.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a352def2
  16. 18 7月, 2008 1 次提交
    • D
      netdev: Allocate multiple queues for TX. · e8a0464c
      David S. Miller 提交于
      alloc_netdev_mq() now allocates an array of netdev_queue
      structures for TX, based upon the queue_count argument.
      
      Furthermore, all accesses to the TX queues are now vectored
      through the netdev_get_tx_queue() and netdev_for_each_tx_queue()
      interfaces.  This makes it easy to grep the tree for all
      things that want to get to a TX queue of a net device.
      
      Problem spots which are not really multiqueue aware yet, and
      only work with one queue, can easily be spotted by grepping
      for all netdev_get_tx_queue() calls that pass in a zero index.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e8a0464c
  17. 15 7月, 2008 1 次提交
  18. 09 7月, 2008 1 次提交
  19. 28 6月, 2008 1 次提交
  20. 12 6月, 2008 1 次提交
    • D
      net: Eliminate flush_scheduled_work() calls while RTNL is held. · 4bb073c0
      David S. Miller 提交于
      If the RTNL is held when we invoke flush_scheduled_work() we could
      deadlock.  One such case is linkwatch, it is a work struct which tries
      to grab the RTNL semaphore.
      
      The most common case are net driver ->stop() methods.  The
      simplest conversion is to instead use cancel_{delayed_}work_sync()
      explicitly on the various work struct the driver uses.
      
      This is an OK transformation because these work structs are doing
      things like resetting the chip, restarting link negotiation, and so
      forth.  And if we're bringing down the device, we're about to turn the
      chip off and reset it anways.  So if we cancel a pending work event,
      that's fine here.
      
      Some drivers were working around this deadlock by using a msleep()
      polling loop of some sort, and those cases are converted to instead
      use cancel_{delayed_}work_sync() as well.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4bb073c0
  21. 22 5月, 2008 1 次提交
  22. 13 5月, 2008 1 次提交
  23. 30 4月, 2008 2 次提交