Skip to content
Snippets Groups Projects
  1. Jun 17, 2009
  2. Jun 13, 2009
  3. Mar 30, 2009
  4. Mar 29, 2009
  5. Mar 10, 2009
  6. Feb 17, 2009
    • Hannes Eder's avatar
      drivers/net/hamradio: fix sparse warning: symbol shadows an earlier one · 9b329f18
      Hannes Eder authored
      
      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: default avatarHannes Eder <hannes@hanneseder.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9b329f18
    • Hannes Eder's avatar
      drivers/net/hamradio: fix sparse warning: context imbalance · e334f564
      Hannes Eder authored
      
      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: default avatarHannes Eder <hannes@hanneseder.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e334f564
    • Hannes Eder's avatar
      drivers/net/hamradio: fix warning: format not a string literal and no ... · eb33ae24
      Hannes Eder authored
      
      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: default avatarHannes Eder <hannes@hanneseder.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      eb33ae24
  7. Feb 01, 2009
  8. Jan 21, 2009
  9. Jan 11, 2009
  10. Dec 16, 2008
  11. Nov 20, 2008
  12. Nov 03, 2008
  13. Oct 27, 2008
  14. Oct 16, 2008
  15. Aug 07, 2008
  16. Jul 22, 2008
  17. Jul 21, 2008
  18. Jul 20, 2008
    • Alan Cox's avatar
      tty: Ldisc revamp · a352def2
      Alan Cox authored
      
      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: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a352def2
  19. Jul 17, 2008
    • David S. Miller's avatar
      netdev: Allocate multiple queues for TX. · e8a0464c
      David S. Miller authored
      
      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: default avatarDavid S. Miller <davem@davemloft.net>
      e8a0464c
  20. Jul 15, 2008
  21. Jul 09, 2008
  22. Jun 27, 2008
  23. Jun 12, 2008
    • David S. Miller's avatar
      net: Eliminate flush_scheduled_work() calls while RTNL is held. · 4bb073c0
      David S. Miller authored
      
      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: default avatarDavid S. Miller <davem@davemloft.net>
      4bb073c0
Loading