summaryrefslogtreecommitdiff
path: root/snapshot.commit
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2012-10-31 13:30:41 +0000
committerTom Rini <[email protected]>2012-11-04 11:00:38 -0700
commit57a87a25f7563158d2b8a83d782568f1e6fc7fc5 (patch)
treecd2bf53e18bc9aae170d9cda7adaa3f1dd53ec5a /snapshot.commit
parentac63f2a2ecb24e309c2ca3b7b4c91b1941d3038b (diff)
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 <[email protected]> Cc: Marek Vasut <[email protected]> Signed-off-by: Tom Rini <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'snapshot.commit')
0 files changed, 0 insertions, 0 deletions