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

2015-01-16 Thread Sergei Shtylyov
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

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

2015-01-16 Thread Rasmus Villemoes
The kernel's string library does in fact have strcasecmp, at least since ded220bd8f08. Moreover, this open-coded version is in fact wrong: If the strings only differ in their last character, a and b have already been incremented to point to the terminating nul bytes, so they would be treated as equ