/* Used as a "done" callback by when sending enable fast fail. Gets called by ibmvscsi_handle_crq()  */
static void fast_fail_rsp(struct srp_event_struct *evt_struct)
/* Used as a "done" callback by when sending enable fast fail. Gets called by ibmvscsi_handle_crq()  */
static void fast_fail_rsp(struct srp_event_struct *evt_struct)
{
	struct ibmvscsi_host_data *hostdata = evt_struct->hostdata;
	u8 status = evt_struct->xfer_iu->mad.fast_fail.common.status;
	if (status == VIOSRP_MAD_NOT_SUPPORTED)
		dev_err(hostdata->dev, "fast_fail not supported in server\n");
	else if (status == VIOSRP_MAD_FAILED)
		dev_err(hostdata->dev, "fast_fail request failed\n");
	else if (status != VIOSRP_MAD_SUCCESS)
		dev_err(hostdata->dev, "error 0x%X enabling fast_fail\n", status);
	send_mad_capabilities(hostdata);
}