pasemi_mac: fix typo
Subsystems (3)
PATCH 1/1 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 <[email protected]>
drivers/net/pasemi_mac.c +1 -1
@@ -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);
Jeff Garzik
AppliedQuoted 14 lines · Olof Johansson
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 castSigned-off-by Olof Johansson <[email protected]>drivers/net/pasemi_mac.c +0
-0
drivers/net/pasemi_mac.c static int pasemi_mac_clean_rx(struct pasemi_mac *mac, int limit) · line 556
Quoted 8 lines
drivers/net/pasemi_mac.c +1
-1@@ -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);
applied