From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754643AbbCRCC1 (ORCPT ); Tue, 17 Mar 2015 22:02:27 -0400 Received: from esgaroth.petrovitsch.at ([78.47.184.11]:3311 "EHLO esgaroth.tuxoid.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754390AbbCRCCZ (ORCPT ); Tue, 17 Mar 2015 22:02:25 -0400 X-Greylist: delayed 1541 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Mar 2015 22:02:25 EDT Subject: Re: [PATCH] x86,boot: standardize strcmp() From: Bernd Petrovitsch To: Arjun Sreedharan Cc: Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "linux-kernel@vger.kernel.org" Date: Wed, 18 Mar 2015 02:36:07 +0100 In-Reply-To: References: <1426520267-1803-1-git-send-email-arjun024@gmail.com> <20150317074608.GB27687@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.3 (3.0.3-1.fc15) Content-Transfer-Encoding: 7bit Message-ID: <1426642573.20946.2.camel@thorin> Mime-Version: 1.0 X-DCC-x.dcc-servers-Metrics: esgaroth.tuxoid.at 104; Body=7 Fuz1=7 Fuz2=7 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.4 SARE_SUB_6CONS_WORD subject word consists of consecutive consonants * -0.2 AWL AWL: Adjusted score from AWL reputation of From: address Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Die, 2015-03-17 at 19:43 +0530, Arjun Sreedharan wrote: [...] > On a related note, IMO strcmp() should return {-1,0,1} since many > programmers just expect this behavior. just my opinion. -ENOPATCH. MfG, Bernd -- "I dislike type abstraction if it has no real reason. And saving on typing is not a good reason - if your typing speed is the main issue when you're coding, you're doing something seriously wrong." - Linus Torvalds