android_kernel_motorola_sm6225/include/scsi
James Bottomley 146f7262ee [SCSI] Alter the scsi_add_device() API to conform to what users expect
The original API returned either an ERR_PTR() or a refcounted sdev.
Unfortunately, if it's successful, you need to do a scsi_device_put() on
the sdev otherwise the refcounting is wrong.

Everyone seems to expect that scsi_add_device() should be callable
without doing the ref put, so alter the API so it is (we still have
__scsi_add_device with the original behaviour).

The only actual caller that needs altering is the one in firewire ...
not because it gets this right, but because it acts on the error if one
is returned.

Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-09-10 14:43:25 -05:00
..
scsi.h [SCSI] add TYPE_RBC to our type table 2005-07-11 12:38:33 -05:00
scsi_cmnd.h [SCSI] add global timeout to the scsi mid-layer 2005-08-08 09:55:39 -05:00
scsi_dbg.h [SCSI] convert sd to scsi_execute_req (and update the scsi_execute_req API) 2005-08-28 11:33:52 -05:00
scsi_device.h [SCSI] Alter the scsi_add_device() API to conform to what users expect 2005-09-10 14:43:25 -05:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_driver.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_eh.h Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] switch EH thread startup to the kthread API 2005-09-06 17:26:06 -05:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h [SCSI] convert SPI transport class to scsi_execute 2005-08-28 11:31:14 -05:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport.h [SCSI] fix target scanning oops with fc transport class 2005-08-08 17:14:55 -05:00
scsi_transport_fc.h [SCSI] fc_transport: Generalize WWN to u64 interger conversions. 2005-09-10 11:10:43 -05:00
scsi_transport_iscsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_sas.h [SCSI] SAS transport class 2005-09-09 16:43:37 -05:00
scsi_transport_spi.h [SCSI] add ability to deny binding to SPI transport class 2005-08-14 14:42:25 -05:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg_request.h [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00