Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90391
b: refs/heads/master
c: b39b5a2
h: refs/heads/master
i:
  90389: f63a06a
  90387: 5bd3a53
  90383: 5ff0797
v: v3
  • Loading branch information
Marcin Slusarz authored and Jeff Garzik committed Mar 26, 2008
1 parent c3a7355 commit a722290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 7a6d84c1b26fd8a1deb28a4bbed672959f7f26ae
refs/heads/master: b39b5a2bc339d8ea04fde2e343bcb4c8f38df692
6 changes: 2 additions & 4 deletions trunk/drivers/net/qla3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2472,8 +2472,7 @@ static int ql_send_map(struct ql3_adapter *qdev,

if (seg_cnt == 1) {
/* Terminate the last segment. */
oal_entry->len =
cpu_to_le32(le32_to_cpu(oal_entry->len) | OAL_LAST_ENTRY);
oal_entry->len |= cpu_to_le32(OAL_LAST_ENTRY);
} else {
oal = tx_cb->oal;
for (completed_segs=0; completed_segs<frag_cnt; completed_segs++,seg++) {
Expand Down Expand Up @@ -2530,8 +2529,7 @@ static int ql_send_map(struct ql3_adapter *qdev,
frag->size);
}
/* Terminate the last segment. */
oal_entry->len =
cpu_to_le32(le32_to_cpu(oal_entry->len) | OAL_LAST_ENTRY);
oal_entry->len |= cpu_to_le32(OAL_LAST_ENTRY);
}

return NETDEV_TX_OK;
Expand Down

0 comments on commit a722290

Please sign in to comment.