srp_cmd->data_out_count = numbuf; 
srp_cmd->data_out_count = numbuf < MAX_INDIRECT_BUFS ? numbuf: MAX_INDIRECT_BUFS; 
static void set_srp_direction(struct scsi_cmnd *cmd,			      struct srp_cmd *srp_cmd, 			      int numbuf){	if (numbuf == 0)		return;		if (numbuf == 1) {		if (cmd->sc_data_direction == DMA_TO_DEVICE)			srp_cmd->data_out_format = SRP_DIRECT_BUFFER;		else 			srp_cmd->data_in_format = SRP_DIRECT_BUFFER;	} else {		if (cmd->sc_data_direction == DMA_TO_DEVICE) {			srp_cmd->data_out_format = SRP_INDIRECT_BUFFER;			srp_cmd->data_out_count = numbuf;		} else {			srp_cmd->data_in_format = SRP_INDIRECT_BUFFER;			srp_cmd->data_in_count = numbuf;		}	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4dddbc26c3895ecdab1f4b16435685b47f96f599/ibmvscsi.c/buggy/drivers/scsi/ibmvscsi/ibmvscsi.c