[PATCH v2] cmd: net: add a 'net list' command to list network devs

Ramon Fried rfried.dev at gmail.com
Sat Jun 12 21:01:52 CEST 2021


Hi Tim.
The patch fails build in several boards (Malta variants):

+cmd/net.c: In function 'do_net_list':
42+cmd/net.c:487:34: error: initialization of 'const struct udevice *'
from incompatible pointer type 'struct eth_device *'
[-Werror=incompatible-pointer-types]
43+ 487 | const struct udevice *current = eth_get_dev();
44+ | ^~~~~~~~~~~


Thanks,
Ramon.


More information about the U-Boot mailing list