Re: [PATCH 1/5] x86: fix early command-line parsing when matching at end

From: Borislav Petkov
Date: Wed Jan 06 2016 - 13:14:24 EST


On Wed, Jan 06, 2016 at 09:57:08AM -0800, Dave Hansen wrote:
> So, after the third patch, the strlen() goes away any way you do this.
> The code ends up looking the same (the while() check is against the
> max-length variable alone).

True story.

> I'm happy to rewrite this to have a different intermediate form and
> repost the thing, but the end result will be the same.

Yeah, no need.

Thanks.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/