1. 10 4月, 2012 1 次提交
  2. 09 3月, 2012 3 次提交
  3. 28 2月, 2012 1 次提交
  4. 22 2月, 2012 1 次提交
    • J
      isdn: whitespace coding style cleanup · 475be4d8
      Joe Perches 提交于
      isdn source code uses a not-current coding style.
      
      Update the coding style used on a per-line basis
      so that git diff -w shows only elided blank lines
      at EOF.
      
      Done with emacs and some scripts and some typing.
      
      Built x86 allyesconfig.
      No detected change in objdump -d or size.
      Signed-off-by: NJoe Perches <joe@perches.com>
      475be4d8
  5. 01 11月, 2011 1 次提交
  6. 18 6月, 2011 1 次提交
    • P
      gigaset: call module_put before restart of if_open() · 2f9381e9
      Pavel Shved 提交于
      if_open() calls try_module_get(), and after an attempt to lock a mutex
      the if_open() function may return -ERESTARTSYS without
      putting the module.  Then, when if_open() is executed again,
      try_module_get() is called making the reference counter of THIS_MODULE
      greater than one at successful exit from if_open().  The if_close()
      function puts the module only once, and as a result it can't be
      unloaded.
      
      This patch adds module_put call before the return from if_open().
      
      Found by Linux Driver Verification project (linuxtesting.org).
      Signed-off-by: NPavel Shved <shved@ispras.ru>
      Signed-off-by: NDavid S. Miller <davem@conan.davemloft.net>
      2f9381e9
  7. 18 2月, 2011 3 次提交
  8. 08 7月, 2010 2 次提交
  9. 18 4月, 2010 1 次提交
  10. 16 3月, 2010 1 次提交
  11. 26 2月, 2010 1 次提交
  12. 20 11月, 2009 1 次提交
    • J
      drivers/isdn/gigaset: tasklet_init - Remove unnecessary leading & from second arg · 5452fee2
      Joe Perches 提交于
      Changed function pointer use from non-majority address-of style
      to majority short form without & via:
      
      grep -rPl "\btasklet_init\s*\([^,\)]+,\s*\&" drivers/isdn | while read file ; do \
              perl -i -e 'local $/; while (<>) { s@(\btasklet_init\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
      done
      
      Compile tested allyesconfig x86
      Signed-off-by: NJoe Perches <joe@perches.com>
      
       drivers/isdn/gigaset/bas-gigaset.c |    4 ++--
       drivers/isdn/gigaset/common.c      |    2 +-
       drivers/isdn/gigaset/interface.c   |    2 +-
       drivers/isdn/gigaset/ser-gigaset.c |    2 +-
       drivers/isdn/gigaset/usb-gigaset.c |    2 +-
       5 files changed, 6 insertions(+), 6 deletions(-)
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5452fee2
  13. 29 10月, 2009 1 次提交
  14. 07 10月, 2009 1 次提交
  15. 20 9月, 2009 1 次提交
  16. 21 7月, 2009 1 次提交
  17. 18 5月, 2009 1 次提交
  18. 07 4月, 2009 1 次提交
  19. 26 12月, 2008 2 次提交
  20. 30 11月, 2008 1 次提交
  21. 25 7月, 2008 1 次提交
  22. 07 2月, 2008 2 次提交
  23. 13 2月, 2007 1 次提交
  24. 12 2月, 2007 1 次提交
  25. 09 12月, 2006 1 次提交
    • A
      [PATCH] tty: switch to ktermios · 606d099c
      Alan Cox 提交于
      This is the grungy swap all the occurrences in the right places patch that
      goes with the updates.  At this point we have the same functionality as
      before (except that sgttyb() returns speeds not zero) and are ready to
      begin turning new stuff on providing nobody reports lots of bugs
      
      If you are a tty driver author converting an out of tree driver the only
      impact should be termios->ktermios name changes for the speed/property
      setting functions from your upper layers.
      
      If you are implementing your own TCGETS function before then your driver
      was broken already and its about to get a whole lot more painful for you so
      please fix it 8)
      
      Also fill in c_ispeed/ospeed on init for most devices, although the current
      code will do this for you anyway but I'd like eventually to lose that extra
      paranoia
      
      [akpm@osdl.org: bluetooth fix]
      [mp3@de.ibm.com: sclp fix]
      [mp3@de.ibm.com: warning fix for tty3270]
      [hugh@veritas.com: fix tty_ioctl powerpc build]
      [jdike@addtoit.com: uml: fix ->set_termios declaration]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NMartin Peschke <mp3@de.ibm.com>
      Acked-by: NPeter Oberparleiter <oberpar@de.ibm.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      606d099c
  26. 02 12月, 2006 1 次提交
  27. 02 10月, 2006 1 次提交
    • J
      [PATCH] const struct tty_operations · b68e31d0
      Jeff Dike 提交于
      As part of an SMP cleanliness pass over UML, I consted a bunch of
      structures in order to not have to document their locking.  One of these
      structures was a struct tty_operations.  In order to const it in UML
      without introducing compiler complaints, the declaration of
      tty_set_operations needs to be changed, and then all of its callers need to
      be fixed.
      
      This patch declares all struct tty_operations in the tree as const.  In all
      cases, they are static and used only as input to tty_set_operations.  As an
      extra check, I ran an i386 allyesconfig build which produced no extra
      warnings.
      
      53 drivers are affected.  I checked the history of a bunch of them, and in
      most cases, there have been only a handful of maintenance changes in the
      last six months.  serial_core.c was the busiest one that I looked at.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b68e31d0
  28. 27 6月, 2006 2 次提交
  29. 22 6月, 2006 1 次提交
  30. 11 4月, 2006 3 次提交