[U-Boot] [PATCH v3 11/16] net/eth.c: Add function to validate a MAC address

Joe Hershberger joe.hershberger at gmail.com
Fri Aug 7 22:18:29 CEST 2015


Hi Codrin,

On Fri, Jul 24, 2015 at 8:55 AM, Codrin Ciubotariu
<codrin.ciubotariu at freescale.com> wrote:
> The code from common/env_flags.c that checks if a
> string has the format of a MAC address has been moved
> in net/eth.c as a separate function called
> eth_validate_ethaddr_str().
>
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu at freescale.com>
> ---
>
> Changes for v3:
>         - none, new patch;
>
>  common/env_flags.c | 15 ++-------------
>  include/net.h      |  1 +
>  net/eth.c          | 30 ++++++++++++++++++++++++++++++
>  3 files changed, 33 insertions(+), 13 deletions(-)

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list