kernel-hacking-2024-linux-s.../drivers
83021920e7 [PATCH] qla2xxx: cleanup DMA mappings...
Don't use cmd->request->nr_hw_segments as it may not be initialized
  (SG_IO in particular bypasses anything that initializes this and just
  uses scsi_do_req to insert a scsi_request directly on the head of the
  queue) and a bogus value here can trip up the checks to make sure that
  the number of segments will fit in the queue ring buffer, resulting in
  commands that are never completed.

  Fix up several issues with PCI DMA mapping and failure to check return
  values on the mappings.

  Make the check for space in the ring buffer happen after the DMA mapping
  is done since any checks done before the mapping has taken place are
  bogus.

  Doug Ledford <dledford@redhat.com>.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-04-18 13:48:12 -05:00
..
acorn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
base [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
block merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
bluetooth Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cdrom Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
char [PATCH] update maintainer for /dev/random 2005-04-16 15:25:56 -07:00
cpufreq Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dio Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eisa Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fc4 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c [PATCH] i2c-i801: I2C patch for Intel ESB2 2005-04-16 15:24:45 -07:00
ide [PATCH] hd: eliminate bad section references 2005-04-16 15:25:52 -07:00
ieee1394 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
infiniband [PATCH] drivers/infiniband/hw/mthca/mthca_main.c: remove an unused label 2005-04-16 15:26:35 -07:00
input Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isdn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macintosh [PATCH] fix few remaining u32 vs. pm_message_t problems 2005-04-16 15:25:38 -07:00
mca Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md [PATCH] md: remove a number of misleading calls to MD_BUG 2005-04-16 15:26:42 -07:00
media [PATCH] fix module_param_string() calls 2005-04-16 15:25:43 -07:00
message [PATCH] Convert i2o to compat_ioctl 2005-04-18 12:34:15 -05:00
misc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmc [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
mtd [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
net [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
nubus Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] fix u32 vs. pm_message_t in PCI, PCIE 2005-04-16 15:25:33 -07:00
pcmcia [PATCH] fix u32 vs. pm_message_t in pcmcia 2005-04-16 15:25:26 -07:00
pnp [PATCH] pnpbios: eliminate bad section references 2005-04-16 15:25:51 -07:00
s390 merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
sbus Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi [PATCH] qla2xxx: cleanup DMA mappings... 2005-04-18 13:48:12 -05:00
serial [PATCH] serial: fix comments in 8250.c 2005-04-16 15:26:39 -07:00
sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
telephony Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb [PATCH] kill old EH constants 2005-04-18 12:33:41 -05:00
video [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
w1 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zorro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00