Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289830
b: refs/heads/master
c: 06e63c5
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Jan 30, 2012
1 parent 26d50b4 commit a1530d0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 8b1c36b357153f491ddea5363fdd397109c3326f
refs/heads/master: 06e63c57acbb1df7c35ebe846ae416a8b88dfafa
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/sfc/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static inline unsigned int efx_rx_buf_offset(struct efx_nic *efx,
/* Offset is always within one page, so we don't need to consider
* the page order.
*/
return ((__force unsigned long) buf->dma_addr & (PAGE_SIZE - 1)) +
return ((unsigned int) buf->dma_addr & (PAGE_SIZE - 1)) +
efx->type->rx_buffer_hash_size;
}
static inline unsigned int efx_rx_buf_size(struct efx_nic *efx)
Expand Down

0 comments on commit a1530d0

Please sign in to comment.