diff options
author | Olof Johansson <olof@lixom.net> | 2007-10-20 15:10:03 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-23 20:18:13 -0400 |
commit | de0523863e167ec29cbd247bd004cdcb607e330e (patch) | |
tree | 81c1fb87aabf969da29b52b5f96718f50d505889 /drivers | |
parent | 79d1050813d4950335f1097a971836ed08be53b0 (diff) |
pasemi_mac: fix typo
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 <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/pasemi_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index 9f9a421c99b3..ab4d309a858f 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c | |||
@@ -550,7 +550,7 @@ static int pasemi_mac_clean_rx(struct pasemi_mac *mac, int limit) | |||
550 | 550 | ||
551 | n = mac->rx->next_to_clean; | 551 | n = mac->rx->next_to_clean; |
552 | 552 | ||
553 | prefetch(RX_RING(mac, n)); | 553 | prefetch(&RX_RING(mac, n)); |
554 | 554 | ||
555 | for (count = 0; count < limit; count++) { | 555 | for (count = 0; count < limit; count++) { |
556 | macrx = RX_RING(mac, n); | 556 | macrx = RX_RING(mac, n); |