1. 27 1月, 2007 2 次提交
    • D
      [SCSI] qla4xxx: bug fixes · 477ffb9d
      David C Somayajulu 提交于
      The included patch fixes the following issues:
      
      1. qla3xxx/qla4xxx co-existence issue which can result in a lockup
      when qla3xxx driver is unloaded, or when ifdown; ifup is performed on
      one of the interfaces correponding to qla3xxx. This is because qla4xxx
      HBA supports one ethernet and iscsi interfaces per port. Both iscsi
      and ethernet interfaces share the same state machine. The problem has
      to do with synchronizing access to the state machine in the event of a
      reset
      
      2. mutex_lock() is sometimes not followed by mutex_unlock() prior to
      invoking a msleep() in qla4xxx_mailbox_command()
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      477ffb9d
    • M
      [SCSI] Fix scsi_add_device() for async scanning · 938e2ac0
      Matthew Wilcox 提交于
      I had thought that all drivers which didn't call scsi_scan_host()
      called scsi_scan_target().  Some, such as sbp2, mptsas and libata-scsi,
      call scsi_add_device() or __scsi_add_device().  We just need to wait
      for the currently executing async scans to complete first.  This is the
      same code that's in scsi_scan_target(), except that we have to return
      an error instead of void when we're declining to scan at all.
      Signed-off-by: NMatthew Wilcox <matthew@wil.cx>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      938e2ac0
  2. 12 1月, 2007 1 次提交
  3. 06 1月, 2007 12 次提交
  4. 04 1月, 2007 14 次提交
  5. 31 12月, 2006 1 次提交
  6. 19 12月, 2006 2 次提交
  7. 18 12月, 2006 1 次提交
  8. 14 12月, 2006 2 次提交
    • R
      [PATCH] getting rid of all casts of k[cmz]alloc() calls · 5cbded58
      Robert P. J. Day 提交于
      Run this:
      
      	#!/bin/sh
      	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
      	  echo "De-casting $f..."
      	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
      	done
      
      And then go through and reinstate those cases where code is casting pointers
      to non-pointers.
      
      And then drop a few hunks which conflicted with outstanding work.
      
      Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Ian Kent <raven@themaw.net>
      Cc: Steven French <sfrench@us.ibm.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cbded58
    • R
      [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() · cd861280
      Robert P. J. Day 提交于
      All kcalloc() calls of the form "kcalloc(1,...)" are converted to the
      equivalent kzalloc() calls, and a few kcalloc() calls with the incorrect
      ordering of the first two arguments are fixed.
      Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Mark Fasheh <mark.fasheh@oracle.com>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Cc: Neil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cd861280
  9. 10 12月, 2006 1 次提交
  10. 09 12月, 2006 1 次提交
  11. 08 12月, 2006 3 次提交