linux-stable/drivers/scsi/aacraid
Salyzyn, Mark 1a655040c2 [SCSI] aacraid: probe related code cleanup
Sundry cleanups:
1) Use kzalloc instead of kmalloc.
2) Make sure probe worked before recalling the SCSI command to finalize
processing.
3) _aac_probe_container2 and _aac_probe_container1 return value goes
unused, change return to void.
4) Use a lower depth pointer reference to pick up the driver instance
variable.
5) Although effectively unused except to fake for scsicmd validity, set
the scsi_done in probe code to aac_probe_container_callback1 instead of
the less valid dummy reference to _aac_probe_container1.
6) SCp.phase is set in aac_valid_context, drop setting up this value in
caller when unnecessary.
7) take container target id at the beginning, rather than referencing
scmd_id() to pick it up.

There should be no side effects or functionality changes.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-06-17 14:57:01 -05:00
..
aachba.c [SCSI] aacraid: probe related code cleanup 2007-06-17 14:57:01 -05:00
aacraid.h [SCSI] Merge up to linux-2.6 head 2007-05-30 23:57:05 -05:00
commctrl.c [SCSI] aacraid: resolve compiler warnings using ptrdiff_t 2007-04-01 10:25:21 -05:00
comminit.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
commsup.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
dpcsup.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
linit.c [SCSI] aacraid: Changeable queue depth 2007-06-01 11:39:56 -04:00
Makefile [SCSI] aacraid: Begin adding support for new adapter type 2007-01-27 09:27:31 -06:00
nark.c [SCSI] aacraid: cleanups 2007-04-01 10:16:35 -05:00
rkt.c [SCSI] aacraid: cleanups 2007-04-01 10:16:35 -05:00
rx.c [SCSI] aacraid: apply commit config for reset_devices flag 2007-05-22 14:08:41 -05:00
sa.c [SCSI] aacraid: Correct sa platform support. (Was: [Bug 8469] Bad EIP value on pentium3 SMP kernel-2.6.21.1) 2007-05-16 13:06:26 -04:00
TODO