[v2,1/1] ARM: orion5x: use mac_pton() helper
Andrew Lunn
andrew at lunn.ch
Fri Feb 23 07:01:47 PST 2018
> > The patch has been corrupted by you email client. But otherwise, yes.
> >
> > Please take a look at:
> >
> > https://www.kernel.org/doc/html/v4.12/process/submitting-patches.html
> >
> > It will give you hits about correctly formatting the patch. In
> > addition it should have:
> >
> > Fixes: 4cd5773a2ae6 ("net: core: move mac_pton() to lib/net_utils.c")
> >
> > before the --- line, to indicate what it is fixing.
> >
> > This patch should be against
> > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git,
> > since it is a fix, and sent to <netdev at vger.kernel.org>.
>
> Guys, consider this one instead:
> https://patchwork.ozlabs.org/patch/851008/
Hi Andy
Thanks for pointing this patch out.
What is the advantage of doing to the strnlen()? As Stefan says, the
code which follows will detect a short string, in that a NULL is not
in [0-9a-f], nor a : .
Thanks
Andrew
More information about the linux-arm-kernel
mailing list