Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2255954ybi; Mon, 17 Jun 2019 01:25:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyj1sUGUaxhcGFMnuPsL3/KSkheSLK1Iyd4GAuIJHgMUa8LEcpCWx5PEnuSaa2pb9qxTMJ2 X-Received: by 2002:a63:29c2:: with SMTP id p185mr18951143pgp.216.1560759951390; Mon, 17 Jun 2019 01:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560759951; cv=none; d=google.com; s=arc-20160816; b=ZNB3QRRrzSWC3+JGoDqZt36PXv4Zganfd8oVKgkhsnTcqwzcLD1dyuFoLy777j8s5u S86b6V2fqmgVuSOFvOBZclrTWjUtEXC5cXvAYv67iM3lMv9Ao6XUouYxW8vv4oB2kn8y UV7kjXHbvGEYjpR4MXcaThRWbs7VLxcGmbkn9n9u5XnN9kVFkgSr4vk67QkQMvrv+FbA HYchuvXwXFxQjG64C/7aBwucAwrijcfxHURBYkNWa6JcCxr9ay4ncTNF27XrB3q7cjDo BiW5mrSM2Yi7eq9zX8W/PHhqwozknFmDEPXeL9OYhtut74Q3JO6klnst0a0ukH+Ma1T2 f/Jw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=kBOct93QiGNzT9VPLoHvqriJun81PGrNwwSZ9wkDjf0=; b=WQoPsehBelcXVeekYsIB9JV2h3lbmYvsEK25gDlRkWgjYpRAvJt+3IBJYmPOWNMzCt KwMWA9dHDpwpEWdbdZ0tjgXtKzTHhSetmtfcAdWQF88kdr9uWq5IHXjqc57QA8ZnYxn1 tbowBIl89GtPV1vq/qo/Xrg1JN4EyNbWq9zG4BGMwYCygnK2QygNBlIgyuxL9jw05GTi 54s23vXNmm+yDYLpnjEpThy40kZmZQ0bHN/soFy3nfQ/7du401UymCtVOKJd0yviuT+/ TWos+olR7iMciTY0e26FxnopkMNoxhizPYFAIAiCK8eonclBSmBe0MJDL9NaLNKYfAj9 zhfw== 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 p15si10473950pgj.191.2019.06.17.01.25.36; Mon, 17 Jun 2019 01:25: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 S1726355AbfFQIZR (ORCPT + 99 others); Mon, 17 Jun 2019 04:25:17 -0400 Received: from foss.arm.com ([217.140.110.172]:41058 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725810AbfFQIZR (ORCPT ); Mon, 17 Jun 2019 04:25:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C12D628; Mon, 17 Jun 2019 01:25:16 -0700 (PDT) Received: from [10.1.196.93] (en101.cambridge.arm.com [10.1.196.93]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F2FB13F246; Mon, 17 Jun 2019 01:25:15 -0700 (PDT) Subject: Re: [PATCH -next] coresight: replicator: Add terminate entry for acpi_device_id tables To: weiyongjun1@huawei.com, mathieu.poirier@linaro.org, alexander.shishkin@linux.intel.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <20190615104440.94149-1-weiyongjun1@huawei.com> From: Suzuki K Poulose Message-ID: <06c751dc-0a23-b33b-1ff1-a98d6503408c@arm.com> Date: Mon, 17 Jun 2019 09:25:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190615104440.94149-1-weiyongjun1@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thanks for the fix, please find my comment below. On 15/06/2019 11:44, Wei Yongjun wrote: > Make sure acpi_device_id tables have terminate entry. > > Fixes: 8f35caae1e1f ("coresight: acpi: Support for platform devices") > Signed-off-by: Wei Yongjun > --- > drivers/hwtracing/coresight/coresight-replicator.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hwtracing/coresight/coresight-replicator.c b/drivers/hwtracing/coresight/coresight-replicator.c > index 542952759941..0c73dc1073c0 100644 > --- a/drivers/hwtracing/coresight/coresight-replicator.c > +++ b/drivers/hwtracing/coresight/coresight-replicator.c > @@ -300,6 +300,7 @@ static const struct of_device_id static_replicator_match[] = { > #ifdef CONFIG_ACPI > static const struct acpi_device_id static_replicator_acpi_ids[] = { > {"ARMHC985", 0}, /* ARM CoreSight Static Replicator */ > + {"", 0}, nit: I would leave it {}, instead of creating an empty string. With that : Reviewed-by: Suzuki K Poulose