]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/eepro100.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:25 +0000 (14:45 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:16 +0000 (10:18 -0500)
commitbccbe619b1138c801a4a789dc30c265c7a34dbc5
tree085bc218999a145294e224e14286f8f4713d9b27
parent6e758ef56eb82200604a5e89509b66c6590c00ce
drivers/net/eepro100.c: Fix compile warning

Fix this:
eepro100.c: In function 'eepro100_initialize':
eepro100.c:464:13: warning: assignment from incompatible pointer type
eepro100.c: In function 'eepro100_recv':
eepro100.c:694:4: warning: passing argument 1 of 'NetReceive' discards qualifiers from pointer target type
include/net.h:438:13: note: expected 'uchar *' but argument is of type 'volatile u8 *'

The use of a descriptor like this may mean DMA will update this at will
Beware this may be a source of trouble on some boards

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/eepro100.c