Skip to content

Commit

Permalink
pasemi_mac: fix typo
Browse files Browse the repository at this point in the history
Add missing &:

drivers/net/pasemi_mac.c: In function 'pasemi_mac_clean_rx':
drivers/net/pasemi_mac.c:553: warning: passing argument 1 of 'prefetch'
makes pointer from integer without a cast

Signed-off-by: Olof Johansson <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
  • Loading branch information
olofj authored and Jeff Garzik committed Oct 24, 2007
1 parent 79d1050 commit de05238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/pasemi_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ static int pasemi_mac_clean_rx(struct pasemi_mac *mac, int limit)

n = mac->rx->next_to_clean;

prefetch(RX_RING(mac, n));
prefetch(&RX_RING(mac, n));

for (count = 0; count < limit; count++) {
macrx = RX_RING(mac, n);
Expand Down

0 comments on commit de05238

Please sign in to comment.