From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH] net: wireless: atmel: Remove open-coded and wrong strcasecmp Date: Fri, 16 Jan 2015 21:17:09 +0300 Message-ID: <54B955A5.3090901@cogentembedded.com> References: <1421414907-26764-1-git-send-email-linux@rasmusvillemoes.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rasmus Villemoes , Simon Kelley , Kalle Valo Return-path: In-Reply-To: <1421414907-26764-1-git-send-email-linux-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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 [...] WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html