[U-Boot] [PATCH] usb gadget ether: Fix warning in is_eth_addr_valid()

Tom Rini trini at ti.com
Sun Nov 4 19:30:42 CET 2012


On Wed, Oct 31, 2012 at 07:31:12PM -0500, Joe Hershberger wrote:
> Hi Tom,
> 
> On Wed, Oct 31, 2012 at 6:30 PM, Tom Rini <trini at ti.com> wrote:
> > 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 at ni.com>
> > Cc: Marek Vasut <marex at denx.de>
> > Signed-off-by: Tom Rini <trini at ti.com>
> > ---
> 
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121104/c138ec11/attachment.pgp>


More information about the U-Boot mailing list