From: Tom Rini Date: Sun, 4 Nov 2012 11:30:42 -0700 Subject: [U-Boot] [PATCH] usb gadget ether: Fix warning in is_eth_addr_valid() In-Reply-To: References: <1351726241-27034-1-git-send-email-trini@ti.com> Message-ID: <20121104183042.GL15839@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 > > Cc: Marek Vasut > > Signed-off-by: Tom Rini > > --- > > Acked-by: Joe Hershberger 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: