Merge branch 'master' into for-next
Conflicts: MAINTAINERS arch/arm/mach-omap2/pm24xx.c drivers/scsi/bfa/bfa_fcpim.c Needed to update to apply fixes for which the old branch was too outdated.
This commit is contained in:
@@ -97,8 +97,7 @@ static u8 mptfcInternalCtx = MPT_MAX_PROTOCOL_DRIVERS;
|
||||
|
||||
static int mptfc_target_alloc(struct scsi_target *starget);
|
||||
static int mptfc_slave_alloc(struct scsi_device *sdev);
|
||||
static int mptfc_qcmd(struct scsi_cmnd *SCpnt,
|
||||
void (*done)(struct scsi_cmnd *));
|
||||
static int mptfc_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *SCpnt);
|
||||
static void mptfc_target_destroy(struct scsi_target *starget);
|
||||
static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout);
|
||||
static void __devexit mptfc_remove(struct pci_dev *pdev);
|
||||
@@ -650,7 +649,7 @@ mptfc_slave_alloc(struct scsi_device *sdev)
|
||||
}
|
||||
|
||||
static int
|
||||
mptfc_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
mptfc_qcmd_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
{
|
||||
struct mptfc_rport_info *ri;
|
||||
struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device));
|
||||
@@ -681,6 +680,8 @@ mptfc_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
return mptscsih_qcmd(SCpnt,done);
|
||||
}
|
||||
|
||||
static DEF_SCSI_QCMD(mptfc_qcmd)
|
||||
|
||||
/*
|
||||
* mptfc_display_port_link_speed - displaying link speed
|
||||
* @ioc: Pointer to MPT_ADAPTER structure
|
||||
|
@@ -1889,7 +1889,7 @@ mptsas_slave_alloc(struct scsi_device *sdev)
|
||||
}
|
||||
|
||||
static int
|
||||
mptsas_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
mptsas_qcmd_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
{
|
||||
MPT_SCSI_HOST *hd;
|
||||
MPT_ADAPTER *ioc;
|
||||
@@ -1913,6 +1913,8 @@ mptsas_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
return mptscsih_qcmd(SCpnt,done);
|
||||
}
|
||||
|
||||
static DEF_SCSI_QCMD(mptsas_qcmd)
|
||||
|
||||
/**
|
||||
* mptsas_mptsas_eh_timed_out - resets the scsi_cmnd timeout
|
||||
* if the device under question is currently in the
|
||||
|
@@ -780,7 +780,7 @@ static int mptspi_slave_configure(struct scsi_device *sdev)
|
||||
}
|
||||
|
||||
static int
|
||||
mptspi_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
mptspi_qcmd_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
{
|
||||
struct _MPT_SCSI_HOST *hd = shost_priv(SCpnt->device->host);
|
||||
VirtDevice *vdevice = SCpnt->device->hostdata;
|
||||
@@ -805,6 +805,8 @@ mptspi_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
|
||||
return mptscsih_qcmd(SCpnt,done);
|
||||
}
|
||||
|
||||
static DEF_SCSI_QCMD(mptspi_qcmd)
|
||||
|
||||
static void mptspi_slave_destroy(struct scsi_device *sdev)
|
||||
{
|
||||
struct scsi_target *starget = scsi_target(sdev);
|
||||
|
@@ -506,7 +506,7 @@ static struct i2o_driver i2o_scsi_driver = {
|
||||
* Locks: takes the controller lock on error path only
|
||||
*/
|
||||
|
||||
static int i2o_scsi_queuecommand(struct scsi_cmnd *SCpnt,
|
||||
static int i2o_scsi_queuecommand_lck(struct scsi_cmnd *SCpnt,
|
||||
void (*done) (struct scsi_cmnd *))
|
||||
{
|
||||
struct i2o_controller *c;
|
||||
@@ -688,7 +688,9 @@ static int i2o_scsi_queuecommand(struct scsi_cmnd *SCpnt,
|
||||
|
||||
exit:
|
||||
return rc;
|
||||
};
|
||||
}
|
||||
|
||||
static DEF_SCSI_QCMD(i2o_scsi_queuecommand)
|
||||
|
||||
/**
|
||||
* i2o_scsi_abort - abort a running command
|
||||
|
Reference in New Issue
Block a user