if (result < 0) { 
if (result < 0) 
static int usb_stor_reset_common(struct us_data *us,		u8 request, u8 requesttype,		u16 value, u16 index, void *data, u16 size){	int result;	int result2;	int rc = FAILED;	/* Let the SCSI layer know we are doing a reset, set the	 * RESETTING bit, and clear the ABORTING bit so that the reset	 * may proceed.	 */	scsi_lock(us_to_host(us));	usb_stor_report_device_reset(us);	set_bit(US_FLIDX_RESETTING, &us->flags);	clear_bit(US_FLIDX_ABORTING, &us->flags);	scsi_unlock(us_to_host(us));	result = usb_stor_control_msg(us, us->send_ctrl_pipe,			request, requesttype, value, index, data, size,			5*HZ);	if (result < 0) {		US_DEBUGP("Soft reset failed: %d\n", result);		goto Done;	} 	/* Give the device some time to recover from the reset, 	 * but don't delay disconnect processing. */ 	wait_event_interruptible_timeout(us->delay_wait, 			test_bit(US_FLIDX_DISCONNECTING, &us->flags), 			HZ*6);	if (test_bit(US_FLIDX_DISCONNECTING, &us->flags)) {		US_DEBUGP("Reset interrupted by disconnect\n");		goto Done;	}	US_DEBUGP("Soft reset: clearing bulk-in endpoint halt\n");	result = usb_stor_clear_halt(us, us->recv_bulk_pipe);	US_DEBUGP("Soft reset: clearing bulk-out endpoint halt\n");	result2 = usb_stor_clear_halt(us, us->send_bulk_pipe);	/* return a result code based on the result of the clear-halts */	if (result >= 0)		result = result2;	if (result < 0) {		US_DEBUGP("Soft reset failed\n");		goto Done;	}	US_DEBUGP("Soft reset done\n");	rc = SUCCESS;  Done:	clear_bit(US_FLIDX_RESETTING, &us->flags);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4d07ef762fc8d6d35ecc1511a3b953a733a61a5f/transport.c/buggy/drivers/usb/storage/transport.c