1. 15 3月, 2010 1 次提交
  2. 13 3月, 2010 1 次提交
  3. 09 3月, 2010 2 次提交
    • M
      qlogicpti: Remove slash in QlogicPTI irq name · 77d39263
      Meelis Roos 提交于
      qlogicpti driver registers its irq with a name containing slash.
      This results in 
      
      [   71.049735] WARNING: at fs/proc/generic.c:316 __xlate_proc_name+0xa8/0xb8()
      [   71.132815] name 'Qlogic/PTI'
      
      because proc_mkdir with the name of the irq fails. Fix it by just 
      removing the slash from irq name. Discovered and tested on real hardware 
      (Sun Ultra 1).
      Signed-off-by: NMeelis Roos <mroos@linux.ee>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      77d39263
    • G
      [SCSI] scsi_transport_fc: Fix synchronization issue while deleting vport · 0d9dc7c8
      Gal Rosen 提交于
      The issue occur while deleting 60 virtual ports through the sys
      interface /sys/class/fc_vports/vport-X/vport_delete. It happen while in
      a mistake each request sent twice for the same vport. This interface is
      asynchronous, entering the delete request into a work queue, allowing
      more than one request to enter to the delete work queue. The result is a
      NULL pointer. The first request already delete the vport, while the
      second request got a pointer to the vport before the device destroyed.
      Re-create vport later cause system freeze.
      
      Solution: Check vport flags before entering the request to the work queue.
      
      [jejb: fixed int<->long problem on spinlock flags variable]
      Signed-off-by: NGal Rosen <galr@storwize.com>
      Acked-by: NJames Smart <james.smart@emulex.com>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      0d9dc7c8
  4. 08 3月, 2010 1 次提交
    • U
      platform-drivers: move probe to .devinit.text in drivers/scsi · 1b07193b
      Uwe Kleine-König 提交于
      A pointer to a probe callback is passed to the core via
      platform_driver_register and so the function must not disappear when the
      .init sections are discarded.  Otherwise (if also having HOTPLUG=y)
      unbinding and binding a device to the driver via sysfs will result in an
      oops as does a device being registered late.
      
      An alternative to this patch is using platform_driver_probe instead of
      platform_driver_register plus removing the pointer to the probe function
      from the struct platform_driver.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Cc: Henrik Kretzschmar <henne@nachtwindheim.de>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: peter fuerst <post@pfrst.de>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1b07193b
  5. 07 3月, 2010 22 次提交
  6. 04 3月, 2010 8 次提交
  7. 03 3月, 2010 5 次提交