projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd89b61
)
drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
author
Anatolij Gustschin
<agust@denx.de>
Sun, 20 May 2012 12:22:56 +0000
(12:22 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:13 +0000
(10:18 -0500)
Fix:
smsc95xx.c: In function 'smsc95xx_eth_get_info':
smsc95xx.c:869:12: warning: assignment from incompatible pointer type
[enabled by default]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/usb/eth/smsc95xx.c
patch
|
blob
|
history
diff --git
a/drivers/usb/eth/smsc95xx.c
b/drivers/usb/eth/smsc95xx.c
index 2f63340fdb8b220f2ba07314f6ffecbe0f05bb99..c7aebea4e39f3feb9e9d0591c086b6e6c6fbdb8b 100644
(file)
--- a/
drivers/usb/eth/smsc95xx.c
+++ b/
drivers/usb/eth/smsc95xx.c
@@
-657,8
+657,7
@@
static int smsc95xx_init(struct eth_device *eth, bd_t *bd)
return 0;
}
-static int smsc95xx_send(struct eth_device *eth, volatile void* packet,
- int length)
+static int smsc95xx_send(struct eth_device *eth, void* packet, int length)
{
struct ueth_data *dev = (struct ueth_data *)eth->priv;
int err;