1. 16 12月, 2008 1 次提交
  2. 13 12月, 2008 1 次提交
  3. 11 12月, 2008 1 次提交
  4. 05 12月, 2008 1 次提交
  5. 21 7月, 2008 1 次提交
  6. 30 4月, 2008 1 次提交
    • A
      tty: The big operations rework · f34d7a5b
      Alan Cox 提交于
      - Operations are now a shared const function block as with most other Linux
        objects
      
      - Introduce wrappers for some optional functions to get consistent behaviour
      
      - Wrap put_char which used to be patched by the tty layer
      
      - Document which functions are needed/optional
      
      - Make put_char report success/fail
      
      - Cache the driver->ops pointer in the tty as tty->ops
      
      - Remove various surplus lock calls we no longer need
      
      - Remove proc_write method as noted by Alexey Dobriyan
      
      - Introduce some missing sanity checks where certain driver/ldisc
        combinations would oops as they didn't check needed methods were present
      
      [akpm@linux-foundation.org: fix fs/compat_ioctl.c build]
      [akpm@linux-foundation.org: fix isicom]
      [akpm@linux-foundation.org: fix arch/ia64/hp/sim/simserial.c build]
      [akpm@linux-foundation.org: fix kgdb]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f34d7a5b
  7. 08 4月, 2008 1 次提交
  8. 26 3月, 2008 1 次提交
  9. 07 3月, 2008 1 次提交
  10. 31 1月, 2008 1 次提交
    • J
      [SCSI] remove use_sg_chaining · d3f46f39
      James Bottomley 提交于
      With the sg table code, every SCSI driver is now either chain capable
      or broken (or has sg_tablesize set so chaining is never activated), so
      there's no need to have a check in the host template.
      
      Also tidy up the code by moving the scatterlist size defines into the
      SCSI includes and permit the last entry of the scatterlist pools not
      to be a power of two.
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      d3f46f39
  11. 29 1月, 2008 1 次提交
    • J
      [netdrvr] irq handler minor cleanups in several drivers · 28fc1f5a
      Jeff Garzik 提交于
      * use irq_handler_t where appropriate
      
      * no need to use 'irq' function arg, its already stored in a data struct
      
      * rename irq handler 'irq' argument to 'dummy', where the function
        has been analyzed and proven not to use its first argument.
      
      * remove always-false "dev_id == NULL" test from irq handlers
      
      * remove pointless casts from void*
      
      * declance: irq argument is not const
      
      * add KERN_xxx printk prefix
      
      * fix minor whitespace weirdness
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      28fc1f5a
  12. 08 12月, 2007 2 次提交
  13. 07 11月, 2007 1 次提交
  14. 23 10月, 2007 1 次提交
  15. 16 10月, 2007 1 次提交
  16. 13 10月, 2007 1 次提交
  17. 11 10月, 2007 1 次提交
    • E
      [NET]: Make device event notification network namespace safe · e9dc8653
      Eric W. Biederman 提交于
      Every user of the network device notifiers is either a protocol
      stack or a pseudo device.  If a protocol stack that does not have
      support for multiple network namespaces receives an event for a
      device that is not in the initial network namespace it quite possibly
      can get confused and do the wrong thing.
      
      To avoid problems until all of the protocol stacks are converted
      this patch modifies all netdev event handlers to ignore events on
      devices that are not in the initial network namespace.
      
      As the rest of the code is made network namespace aware these
      checks can be removed.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e9dc8653
  18. 01 9月, 2007 2 次提交
  19. 14 8月, 2007 1 次提交
  20. 28 7月, 2007 1 次提交
  21. 26 7月, 2007 1 次提交
  22. 14 7月, 2007 1 次提交
  23. 09 5月, 2007 1 次提交
  24. 26 4月, 2007 2 次提交
  25. 13 12月, 2006 1 次提交
  26. 08 12月, 2006 1 次提交
  27. 06 12月, 2006 1 次提交
  28. 17 11月, 2006 2 次提交
  29. 11 10月, 2006 1 次提交
  30. 09 10月, 2006 2 次提交
  31. 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
  32. 29 9月, 2006 1 次提交
  33. 01 8月, 2006 1 次提交
    • T
      [IA64] Fix breakage in simscsi.c · 4f2ef124
      Tony Luck 提交于
      arch/ia64/hp/sim/simscsi.c: In function `simscsi_sg_readwrite':
      arch/ia64/hp/sim/simscsi.c:154: error: structure has no member named `buffer'
      arch/ia64/hp/sim/simscsi.c: In function `simscsi_fillresult':
      arch/ia64/hp/sim/simscsi.c:247: error: structure has no member named `buffer'
      
      hch said:
      >Just change it to access the request_buffer member instead.  buffer
      >and request_buffer have been synonymous 99% of the time, and a driver
      >never even wants to access buffer.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      4f2ef124
  34. 29 7月, 2006 1 次提交
    • C
      [SCSI] fix simscsi · 0dfda775
      Christoph Hellwig 提交于
      On Thu, Jul 27, 2006 at 01:03:24AM -0700, Andrew Morton wrote:
      > arch/ia64/hp/sim/simscsi.c: In function `simscsi_sg_readwrite':
      > arch/ia64/hp/sim/simscsi.c:154: error: structure has no member named `buffer'
      > arch/ia64/hp/sim/simscsi.c: In function `simscsi_fillresult':
      > arch/ia64/hp/sim/simscsi.c:247: error: structure has no member named `buffer'
      > arch/ia64/hp/sim/simscsi.c: At top level:
      > arch/ia64/hp/sim/simscsi.c:87: warning: 'simscsi_setup' defined but not used
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      0dfda775
  35. 03 7月, 2006 1 次提交