Skip to content

Commit

Permalink
[SCSI] isci: fix missed unlock in apc_agent_timeout()
Browse files Browse the repository at this point in the history
Needed to jump to scic_lock unlock.

Also spotted by coccicheck.

Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
Jeff Skirvin authored and James Bottomley committed Oct 2, 2011
1 parent 54b5e3a commit 983d3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/isci/port_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ static void apc_agent_timeout(unsigned long data)
configure_phy_mask = ~port_agent->phy_configured_mask & port_agent->phy_ready_mask;

if (!configure_phy_mask)
return;
goto done;

for (index = 0; index < SCI_MAX_PHYS; index++) {
if ((configure_phy_mask & (1 << index)) == 0)
Expand Down

0 comments on commit 983d3fd

Please sign in to comment.