From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030362AbbCSRet (ORCPT ); Thu, 19 Mar 2015 13:34:49 -0400 Received: from terminus.zytor.com ([198.137.202.10]:53815 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030327AbbCSRen (ORCPT ); Thu, 19 Mar 2015 13:34:43 -0400 Message-ID: <550B08A3.70504@zytor.com> Date: Thu, 19 Mar 2015 10:34:27 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Arjun Sreedharan , Ingo Molnar CC: Thomas Gleixner , Ingo Molnar , x86@kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86,boot: standardize strcmp() References: <1426520267-1803-1-git-send-email-arjun024@gmail.com> <20150317074608.GB27687@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/17/2015 07:13 AM, Arjun Sreedharan wrote: > > On a related note, IMO strcmp() should return {-1,0,1} since many > programmers just expect this behavior. just my opinion. > I would challenge that assumption, *especially* in the context of kernel programming. Let's not waste time on that crap. -hpa