Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 246994
b: refs/heads/master
c: 7aba7b0
h: refs/heads/master
v: v3
  • Loading branch information
Yi Zou authored and Jeff Kirsher committed Apr 27, 2011
1 parent 9a29a55 commit 1a6c0c4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b32c8dcc33a74fb4f1e73ed2263504f5947ca76b
refs/heads/master: 7aba7b077f638deb9569e0b36256cd9ae76e468c
4 changes: 2 additions & 2 deletions trunk/drivers/net/ixgbe/ixgbe_fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter,
if (!ddp->udl)
goto ddp_out;

ddp->err = (fcerr | fceofe);
if (ddp->err)
if (fcerr | fceofe)
goto ddp_out;

fcstat = (sterr & IXGBE_RXDADV_STAT_FCSTAT);
Expand All @@ -428,6 +427,7 @@ int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter,
if (fcstat == IXGBE_RXDADV_STAT_FCSTAT_FCPRSP) {
pci_unmap_sg(adapter->pdev, ddp->sgl,
ddp->sgc, DMA_FROM_DEVICE);
ddp->err = (fcerr | fceofe);
ddp->sgl = NULL;
ddp->sgc = 0;
}
Expand Down

0 comments on commit 1a6c0c4

Please sign in to comment.