Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171936
b: refs/heads/master
c: da95b2d
h: refs/heads/master
v: v3
  • Loading branch information
Simon Kagstrom authored and David S. Miller committed Nov 26, 2009
1 parent c406d5f commit 750124e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 350f75960c8ba317935b4274c56c16412e085b08
refs/heads/master: da95b2d422b6eb2b76789bbdbfafb7e07c493e7a
3 changes: 2 additions & 1 deletion trunk/drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,8 @@ static int velocity_alloc_rx_buf(struct velocity_info *vptr, int idx)
* Do the gymnastics to get the buffer head for data at
* 64byte alignment.
*/
skb_reserve(rd_info->skb, (unsigned long) rd_info->skb->data & 63);
skb_reserve(rd_info->skb,
64 - ((unsigned long) rd_info->skb->data & 63));
rd_info->skb_dma = pci_map_single(vptr->pdev, rd_info->skb->data,
vptr->rx.buf_sz, PCI_DMA_FROMDEVICE);

Expand Down

0 comments on commit 750124e

Please sign in to comment.