Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp947647imm; Mon, 21 May 2018 17:52:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo9jKIu9d0ZQzoIQcWhAFflxgmsXeig0PmPn0u2QM84Sj5MsPD3/CHA4dTrDxhFTOZhc7HM X-Received: by 2002:a62:ed12:: with SMTP id u18-v6mr22233937pfh.127.1526950371481; Mon, 21 May 2018 17:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526950371; cv=none; d=google.com; s=arc-20160816; b=OSX2DgoJjP6FZ5SNcdWdeRB0GL2p6eZePEq7GhUukSsTajoyDYkOCHc6QcbbbH+5UJ TG8tacaBCI6AJ9q9Ys5bbn6LR5DGKwmhuAQxCEbFrXK63E5FWGdsggeIz9NDN37aU2L4 OViJJN+c9eCHUTUNcZTL9RX+JYwk5ytXDr7NocOXqhGPpGO4Nrr7XVis3JkCSewqC2IN djjCvkq25SzS5bdK+cYVmjUhu3EEWELPsZPYGs+PgX3k6KIAdadcwHwPJhjJqsCXqIzC AzTb/TSVYzRijgv8DFAtW/GJWV3YlENmpotqXdM1oFqmcAgh618Q7UtEv/lZBTdF8TEZ 7Jwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=IY3tsE5mTxdMHkZbp7qfENH88oO7CAfQXt9ui5IDZXw=; b=jJLAtMiWQGj3ez4SKGkZXgmNxU9BUUUoQouoYD28Ptpm+sDK9+ur35ginePP0w+Zdp 0PNBGqOtdgwYpiNCBmeBr4/qCk8uYgJ0USKVNEQFeGhssjlEf8CVQ8+I9v/gv3WP79PC XElXmMmLSlKpODBg9AFI2BfT2iEyyiVjUPPORCIhnc0bMX8Cg87kFvf7RP5Ya/DW8Ug7 hRPwKmeGCHwzWxw8+sE7odDmkNdypusdmcWbFR93L74mZyspxYZCGi811J9yePNJn9HA Z+yrRWrcRSQiJX0E5Lwqn3tSw0nbIoSp3xP+Gm5h7a10oNhQWlhSbmTTUAuCcMWkFah5 eldQ== 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 k7-v6si11861274pgo.98.2018.05.21.17.52.36; Mon, 21 May 2018 17:52:51 -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 S1751862AbeEVAw3 (ORCPT + 99 others); Mon, 21 May 2018 20:52:29 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7726 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751202AbeEVAwZ (ORCPT ); Mon, 21 May 2018 20:52:25 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 3B88AC0C476C2 for ; Tue, 22 May 2018 08:52:12 +0800 (CST) Received: from [127.0.0.1] (10.177.29.40) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Tue, 22 May 2018 08:52:09 +0800 Subject: Re: [PATCH 00/33] use match_string() helper To: Andy Shevchenko References: <1526903890-35761-1-git-send-email-xieyisheng1@huawei.com> CC: Linux Kernel Mailing List From: Yisheng Xie Message-ID: <3d1afe8e-8b86-4be8-0fbc-33f5d9eb6121@huawei.com> Date: Tue, 22 May 2018 08:52:07 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.40] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On 2018/5/22 6:27, Andy Shevchenko wrote: > On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote: >> Andy introduce helper function match_string() which can be used to return >> the index of array for a matching string. so we can use it in many places >> intead of open coded variant. > > You forgot to Cc that Andy. Yeah, I just forgot it when send them out. > > For the patches I didn't comment, LGTM > > Reviewed-by: Andy Shevchenko Thanks, and I will drop the ones you already sent out, and make a v2 as your comment! Thanks Yisheng