Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=de0523863e167ec29cbd247bd004cdcb607e330e
Commit:     de0523863e167ec29cbd247bd004cdcb607e330e
Parent:     79d1050813d4950335f1097a971836ed08be53b0
Author:     Olof Johansson <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 20 14:10:03 2007 -0500
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Oct 23 20:18:13 2007 -0400

    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]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 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 9f9a421..ab4d309 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to