projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d1050
)
pasemi_mac: fix typo
author
Olof Johansson
<
[email protected]
>
Sat, 20 Oct 2007 19:10:03 +0000
(14:10 -0500)
committer
Jeff Garzik
<
[email protected]
>
Wed, 24 Oct 2007 00:18:13 +0000
(20:18 -0400)
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
patch
|
blob
|
history
diff --git
a/drivers/net/pasemi_mac.c
b/drivers/net/pasemi_mac.c
index 9f9a421c99b33fa4a107d4aa7f3f19160a3b51b8..ab4d309a858fab572782a534b334d4a8b35babf4 100644
(file)
--- 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);