Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199462
b: refs/heads/master
c: 2892d9c
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed May 29, 2010
1 parent 0b44da1 commit 26424bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5daf47bb4e708fde32c1856a0d049e3c3d03c36c
refs/heads/master: 2892d9c2d925e0d72a7a529852942e2592a970f8
7 changes: 5 additions & 2 deletions trunk/drivers/net/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ int be_cmd_write_flashrom(struct be_adapter *adapter, struct be_dma_mem *cmd,
wrb = wrb_from_mccq(adapter);
if (!wrb) {
status = -EBUSY;
goto err;
goto err_unlock;
}
req = cmd->va;
sge = nonembedded_sgl(wrb);
Expand Down Expand Up @@ -1457,7 +1457,10 @@ int be_cmd_write_flashrom(struct be_adapter *adapter, struct be_dma_mem *cmd,
else
status = adapter->flash_status;

err:
return status;

err_unlock:
spin_unlock_bh(&adapter->mcc_lock);
return status;
}

Expand Down

0 comments on commit 26424bd

Please sign in to comment.