kernel_optimize_test/drivers/scsi
Tejun Heo 9ae61c6cb6 [PATCH] libata: fix WARN_ON() condition in *_fill_sg()
For ATAPI commands, padding can reduce qc->n_elem by one and thus to
zero making assert(qc->n_elem > 0)'s in ata_fill_sg() and qs_fill_sg()
fail for legal commands.  This patch fixes the assert()'s to take
qc->pad_len into account.

Although the condition check seems a bit excessive, as this part of
code isn't still stable yet, I think it's worth to keep those.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2006-02-20 16:48:17 -05:00
..
aacraid Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 2006-02-16 12:47:44 -08:00
aic7xxx [SCSI] aic79xx: Fix timer handling 2006-01-31 14:39:50 -06:00
aic7xxx_old
arm [ARM] Remove asm/irq.h includes from ARM drivers 2006-01-09 13:56:42 +00:00
dpt
ibmvscsi [SCSI] ibmvscsi: handle re-enable firmware message 2006-01-26 08:10:08 -05:00
lpfc [SCSI] lpfc_scsi.c: make lpfc_get_scsi_buf() static 2006-01-12 11:36:37 -06:00
megaraid [SCSI] megaraid_sas: support for 1078 type controller added 2006-02-04 16:38:41 -06:00
pcmcia [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
qla2xxx [PATCH] qla2xxx: Correct lun assignment during IOCB submission. 2006-02-07 10:54:07 -06:00
sym53c8xx_2 [SCSI] sym2: Mask off opcode from RBC 2006-02-12 11:13:09 -06:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
3w-9xxx.c [SCSI] 3ware 9000 driver >4GB memory fix 2006-02-05 17:15:15 -06:00
3w-9xxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c700.h [SCSI] 53c700: update endian processing macros 2005-12-16 09:51:01 -08:00
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
advansys.c
advansys.h
aha152x.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
ahci.c [libata ahci] add another JMicron pci id 2006-01-29 12:40:57 -05:00
aic7xxx_old.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
amiga7xx.c
amiga7xx.h
ata_piix.c [PATCH] Intel ICH8 SATA: add PCI device IDs 2006-01-17 19:31:54 -05:00
atari_dma_emul.c
atari_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
atari_scsi.c
atari_scsi.h
atp870u.c
atp870u.h
blz1230.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
blz2060.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
BusLogic.c [SCSI] Pass proper device from BusLogic to SCSI layer 2006-01-12 15:26:13 -06:00
BusLogic.h
bvme6000.c
bvme6000.h
ch.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
constants.c [SCSI] Move scsi_print_msg to SPI class 2005-12-15 18:41:13 -08:00
cyberstorm.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
cyberstormII.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
dc395x.c [SCSI] dc395x: "fix" virt_addr calculation on AUTO_REQSENSE 2006-01-26 08:11:13 -05:00
dc395x.h
dec_esp.c
dmx3191d.c
dpt_i2o.c [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() 2006-01-14 10:54:54 -06:00
dpti.h
dtc.c
dtc.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp.c
esp.h
fastlane.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
fcal.c
fcal.h
fd_mcs.c
fdomain.c
fdomain.h
FlashPoint.c Fix "stuct", "strut", "struc" typos 2006-01-15 02:12:54 +01:00
g_NCR5380_mmio.c
g_NCR5380.c
g_NCR5380.h
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c
gdth_proc.h
gdth.c [SCSI] gdth: don't map zero-length requests 2006-02-05 12:59:29 -06:00
gdth.h
gvp11.c
gvp11.h
hosts.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
hosts.h
ibmmca.c
ibmmca.h
ide-scsi.c [PATCH] ide-scsi: fix for IDE probe/remove ops changes 2006-02-01 08:53:09 -08:00
imm.c
imm.h
in2000.c
in2000.h
initio.c
initio.h
ipr.c [SCSI] ipr: Fix adapter initialization failure 2006-02-12 11:05:44 -06:00
ipr.h [SCSI] ipr: Fix adapter initialization failure 2006-02-12 11:05:44 -06:00
ips.c [SCSI] ServeRAID: prevent seeing DADSI devices 2006-01-31 14:43:18 -06:00
ips.h
iscsi_tcp.c [SCSI] iscsi update: fix mgmt pool err path release 2006-02-04 16:19:53 -06:00
iscsi_tcp.h [SCSI] iscsi update: rm conn lock 2006-02-04 16:19:08 -06:00
jazz_esp.c
Kconfig [PATCH] parport: Kconfig dependency fixes 2006-01-06 08:33:57 -08:00
lasi700.c
libata-core.c [PATCH] libata: fix WARN_ON() condition in *_fill_sg() 2006-02-20 16:48:17 -05:00
libata-scsi.c [LIBATA] Blacklist certain Maxtor firmware revisions for FUA support 2006-01-30 16:09:35 +01:00
libata.h [BLOCK] add FUA support to libata 2006-01-06 09:56:18 +01:00
mac53c94.c [PATCH] drivers/scsi/mac53c94.c __iomem annotations 2006-02-07 20:57:14 -05:00
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2006-01-14 12:16:07 -08:00
mca_53c9x.c
megaraid.c [SCSI] megaraid_legacy: kobject_register failure 2006-02-12 11:11:09 -06:00
megaraid.h [SCSI] megaraid_legacy: kobject_register failure 2006-02-12 11:11:09 -06:00
mesh.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
ncr53c8xx.h [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
NCR53c406a.c
NCR53C9x.c [PATCH] m68k: fix PIO case in esp 2006-01-12 09:09:05 -08:00
NCR53C9x.h
NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
oktagon_esp.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
oktagon_io.S
osst_detect.h
osst_options.h
osst.c
osst.h
pas16.c
pas16.h
pci2000.h
pdc_adma.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
pluto.c
pluto.h
ppa.c
ppa.h
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c [SCSI] qla1280: remove < 2.6.0 support 2006-01-26 08:08:26 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicfc_asm.c
qlogicfc.c
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
raid_class.c [SCSI] raid_class.c - adding RAID10 and RAID10 defines 2006-01-12 11:35:15 -06:00
sata_mv.c [PATCH] Add missing FUA write to sata_mv dma command list 2006-02-17 16:31:18 -05:00
sata_nv.c [PATCH] sata_nv, spurious interrupts at system startup with MAXTOR 6H500F0 drive 2006-01-09 10:42:06 -05:00
sata_promise.c [libata] sata_promise: add pci id 2006-01-17 08:06:21 -05:00
sata_promise.h
sata_qstor.c [PATCH] libata: fix WARN_ON() condition in *_fill_sg() 2006-02-20 16:48:17 -05:00
sata_sil24.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sil.c [libata sata_sil] implement 'slow_down' module parameter 2006-01-27 16:50:27 -05:00
sata_sis.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_svw.c [libata] sata_svw: add pci id 2006-01-17 07:58:42 -05:00
sata_sx4.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_uli.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_via.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_vsc.c [PATCH] Necessary evil to get sata_vsc to initialize with Intel iq3124h hba 2006-02-17 16:27:19 -05:00
script_asm.pl
scsi_debug.c [PATCH] Add Pseudo LLD bus_type probe and remove methods 2006-01-13 11:26:10 -08:00
scsi_debug.h
scsi_devinfo.c [SCSI] correct some dropped const compiler warnings 2005-12-13 18:12:05 -07:00
scsi_error.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_ioctl.c
scsi_lib.c [PATCH] add scsi_execute_in_process_context() API 2006-02-14 11:14:26 -06:00
scsi_logging.h
scsi_module.c
scsi_priv.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_proc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_scan.c [SCSI] fix wrong context bugs in SCSI 2006-02-14 11:15:11 -06:00
scsi_sysctl.c
scsi_sysfs.c [SCSI] fix wrong context bugs in SCSI 2006-02-14 11:15:11 -06:00
scsi_transport_fc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_iscsi.c [PATCH] scsi_transport_iscsi gfp_t annotations 2006-02-07 20:58:21 -05:00
scsi_transport_sas.c [SCSI] scsi_transport_sas.c: display port identifier 2006-01-31 14:39:36 -06:00
scsi_transport_spi.c [SCSI] sem2mutex: scsi_transport_spi.c 2006-01-14 10:55:01 -06:00
scsi_typedefs.h
scsi.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
scsi.h
scsicam.c
sd.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
seagate.c
seagate.h
sg.c [PATCH] sg gfp_t annotations 2006-02-07 20:58:27 -05:00
sgiwd93.c
sim710.c
sr_ioctl.c [SCSI] sr: split sr_audio_ioctl into specific helpers 2006-01-14 10:54:46 -06:00
sr_vendor.c [SCSI] Missing const in sr_vendor 2005-12-17 10:50:23 -06:00
sr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
sr.h
st_options.h
st.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
st.h [SCSI] convert st to use scsi_execute_async 2005-12-14 19:16:31 -08:00
sun3_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c
tmscsim.h
u14-34f.c
ultrastor.c
ultrastor.h
wd33c93.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
wd33c93.h
wd7000.c
zalon.c