Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156999
b: refs/heads/master
c: 6bd4e1e
h: refs/heads/master
i:
  156997: 8dbef96
  156995: cc82915
  156991: 3cba487
v: v3
  • Loading branch information
Kashyap, Desai authored and James Bottomley committed Aug 13, 2009
1 parent bcb6e11 commit d80169a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be9e8cd75ce8d94ae4aab721fdcc337fa78a9090
refs/heads/master: 6bd4e1e4d6023f4da069fd68729c502cc4e6dfd0
6 changes: 6 additions & 0 deletions trunk/drivers/scsi/mpt2sas/mpt2sas_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ _config_request(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigRequest_t
retry_count = 0;

retry_config:
if (retry_count) {
if (retry_count > 2) /* attempt only 2 retries */
return -EFAULT;
printk(MPT2SAS_INFO_FMT "%s: attempting retry (%d)\n",
ioc->name, __func__, retry_count);
}
wait_state_count = 0;
ioc_state = mpt2sas_base_get_iocstate(ioc, 1);
while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) {
Expand Down

0 comments on commit d80169a

Please sign in to comment.