Re: [PATCH] net: wireless: atmel: Remove open-coded and wrong strcasecmp

From: Sergei Shtylyov
Date: Fri Jan 16 2015 - 13:17:18 EST


Hello.

On 01/16/2015 04:28 PM, Rasmus Villemoes wrote:

The kernel's string library does in fact have strcasecmp, at least
since ded220bd8f08. Moreover, this open-coded version is in fact

Please also specify that commit's summary line in parens.

wrong: If the strings only differ in their last character, a and b
have already been incremented to point to the terminating nul bytes,

NUL.

so they would be treated as equal.

Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>

[...]

WBR, Sergei

--
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/