From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dimitris Papastamos Subject: Re: [PATCH] ASoC: core: No need to use strncmp() Date: Wed, 31 Jul 2013 10:48:14 +0100 Message-ID: <20130731094814.GA7231@opensource.wolfsonmicro.com> References: <1375260253-23376-1-git-send-email-dp@opensource.wolfsonmicro.com> <20130731090726.GF9858@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 4E1042610AF for ; Wed, 31 Jul 2013 11:54:54 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20130731090726.GF9858@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org On Wed, Jul 31, 2013 at 10:07:26AM +0100, Mark Brown wrote: > On Wed, Jul 31, 2013 at 09:44:13AM +0100, Dimitris Papastamos wrote: > > Signed-off-by: Dimitris Papastamos > > Why? Hm, strncmp() suggests that we might not care about the entire string. Although trivial, I thought strcmp() is clearer in this context.