mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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> |
||
|---|---|---|
| .. | ||
| composite.c | ||
| config.c | ||
| core.c | ||
| designware_udc.c | ||
| ep0.c | ||
| ep0.h | ||
| epautoconf.c | ||
| ether.c | ||
| f_dfu.c | ||
| f_dfu.h | ||
| g_dnl.c | ||
| gadget_chips.h | ||
| Makefile | ||
| mpc8xx_udc.c | ||
| mv_udc.c | ||
| ndis.h | ||
| omap1510_udc.c | ||
| pxa25x_udc.c | ||
| pxa25x_udc.h | ||
| pxa27x_udc.c | ||
| regs-otg.h | ||
| rndis.c | ||
| rndis.h | ||
| s3c_udc_otg.c | ||
| s3c_udc_otg_xfer_dma.c | ||
| usbstring.c | ||