u-boot-2016/drivers/usb/gadget
Tom Rini 57a87a25f7 usb gadget ether: Fix warning in is_eth_addr_valid()
The gadget ethernet driver needs to keep copies of the MAC address (at
both endpoints) as strings so it needs a custom function for validation
of the MAC.  It was not however performing a totally correct check and
also was emitting a warning about a set but unused variable.  The
solution to both is that after checking the string contents we use the
standard test for a valid MAC.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2012-11-04 11:00:38 -07:00
..
composite.c usb:gadget:composite USB composite gadget support 2012-05-20 08:32:33 +02:00
config.c usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h file 2012-05-20 08:32:32 +02:00
core.c Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
designware_udc.c USB:gadget:designware Fix memory nonalignment issue 2012-03-19 00:08:17 +01:00
ep0.c Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
ep0.h
epautoconf.c usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h file 2012-05-20 08:32:32 +02:00
ether.c usb gadget ether: Fix warning in is_eth_addr_valid() 2012-11-04 11:00:38 -07:00
f_dfu.c dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget 2012-09-01 16:21:50 +02:00
f_dfu.h dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget 2012-09-01 16:21:50 +02:00
g_dnl.c dfu:usb: Support for g_dnl composite download gadget. 2012-09-01 16:21:50 +02:00
gadget_chips.h Remove lh7a40x cpu and serial driver 2012-10-16 18:00:36 +02:00
Makefile pxa25x: Add support for USB ethernet gadget 2012-10-15 11:54:01 -07:00
mpc8xx_udc.c
mv_udc.c
ndis.h
omap1510_udc.c
pxa25x_udc.c pxa25x: Add support for USB ethernet gadget 2012-10-15 11:54:01 -07:00
pxa25x_udc.h pxa25x: Add support for USB ethernet gadget 2012-10-15 11:54:01 -07:00
pxa27x_udc.c
regs-otg.h
rndis.c
rndis.h
s3c_udc_otg.c usb:udc:samsung Add functions for storing private gadget data in UDC driver 2012-05-20 08:32:33 +02:00
s3c_udc_otg_xfer_dma.c usb:udc:samsung:cleanup Replace DEBUG_* macros with debug_cond() calls 2012-05-20 08:32:33 +02:00
usbstring.c usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h file 2012-05-20 08:32:32 +02:00