From: Olof Johansson Date: Sat, 20 Oct 2007 19:10:03 +0000 (-0500) Subject: pasemi_mac: fix typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de0523863e167ec29cbd247bd004cdcb607e330e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jeff Garzik --- 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) 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);