Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1241159imm; Tue, 22 May 2018 00:28:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrn9AxpvYujZbupfyKIqElnVZKpciO96SJ1/S0UWf23EdKkwTf/eDbwnWeQl5FD+VUz+bZf X-Received: by 2002:a62:2043:: with SMTP id g64-v6mr23139104pfg.12.1526974088151; Tue, 22 May 2018 00:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526974088; cv=none; d=google.com; s=arc-20160816; b=bgiPyI+nA0QbZLiluaXjqhen+jWuJry06O/twtCp1k5l7+ANTCE5TM0hdEQCHVqLET aNU6R1cFGKbUsPjVLIlitVCGaSNQsRBL44hCZKDgekmze9suLt0NOJiRQ7jiRo9ZxgXa ar9eNK9haV1qcJXyNeSHLCuAB04ka3WYowKD5BDQjTp8woCyCumPAAc4x9SNduhir4Gj YMXrk6afSpw+ER0LqxclK00RfuTUJcjDOg/FarTKcafm85/IMCW2Ao7V3GHL+ePPv8dq fu7VzdOEf77xMqBn0+bfVOx3nMI2ZEmwviRQPyxr7/WBdw53MkM07EV55WV8QMteaBPf 9Dsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=X0D0aHGpANshsyJkXEEwOR7JSPYrJF/TwQZMxRV3E5o=; b=ToLBwgKrVKOFYIOt19vqiKeyEoLnoqn5bi5Y9iUB7XRXAS+B2JPBdDH172ssFOnhfw nYugmheZS14gYNA4M1K/crXgxO5Yn/q3VGIabGoowjsrECtZUuiBO8cDEi95zPFOxong 2dMY74jpKnbaEED/l+TLMlrPsrcbrLNxaKQ3DzfHC8jjnkDKrLzcSOHtE745MLGakbT8 aY2noQ6p6bPVXiGP+FQdojLolfpLQV4eceLmEmQTIfq8ylVq3UA5HjT5B/9H3bCzVFJS 9WXS/eXB0e5mbbfkfpTaNqr6aZEGeOef1ZLxKsfelRcGDM5e+SD33iWbZkbIQ8F/jjVb QS3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7-v6si12371997pgc.14.2018.05.22.00.27.53; Tue, 22 May 2018 00:28:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751393AbeEVH0f (ORCPT + 99 others); Tue, 22 May 2018 03:26:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:57545 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbeEVH0c (ORCPT ); Tue, 22 May 2018 03:26:32 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6C453AC43; Tue, 22 May 2018 07:26:31 +0000 (UTC) Date: Tue, 22 May 2018 09:26:30 +0200 Message-ID: From: Takashi Iwai To: "Takashi Sakamoto" Cc: "Yisheng Xie" , , , "Clemens Ladisch" Subject: Re: [alsa-devel] [PATCH 29/33] ALSA: oxfw: use match_string() helper In-Reply-To: References: <1526903890-35761-1-git-send-email-xieyisheng1@huawei.com> <1526903890-35761-30-git-send-email-xieyisheng1@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 May 2018 00:26:53 +0200, Takashi Sakamoto wrote: > > Hi, > > On May 21 2018 20:58, Yisheng Xie wrote: > > match_string() returns the index of an array for a matching string, > > which can be used intead of open coded variant. > > > > Cc: Clemens Ladisch > > Cc: Jaroslav Kysela > > Cc: Takashi Iwai > > Cc: alsa-devel@alsa-project.org > > Signed-off-by: Yisheng Xie > > --- > > sound/firewire/oxfw/oxfw.c | 8 +------- > > 1 file changed, 1 insertion(+), 7 deletions(-) > > Reviewed-by: Takashi Sakamoto > > For my information, use_match_string() helper was firstly introduced to > v4.6 kernel by a commit 56b060814e2d ('lib/string: introduce > match_string() helper'). OK, applied now. Thanks. Takashi