Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5762837imm; Mon, 23 Jul 2018 05:46:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpccCtvY4M660IoUY0HE2L4U3CaRxPgHzUfzStnb3w+8aLJ3HSVLC0qnw4Zd2qh9p+LhZOmh X-Received: by 2002:a62:20d8:: with SMTP id m85-v6mr13263356pfj.74.1532349989947; Mon, 23 Jul 2018 05:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532349989; cv=none; d=google.com; s=arc-20160816; b=YvohhMphLirTNaDstxuhedKF5zuMc2CcXyfMrLvnkcIry/tG/LCCVLYb1aLJh5VNhY xy4q5tkAgb14tZdoYe1KhcIgcPfnw3Q8yzsU4c3AI7rd78iPhfK+0Bu4qe2B+DpdwHgb nhIr68cLCwd//ar8Rc5tLYl41kcSto7ntuRv4e/ssGhXC5gtqscYVLDX4yx0Gxl32mfX D63fRUVVQkXgpyocS32osXNUQGHEYpuhV/Hzxg2LfqFCAGyUBxMKD8pjrkhe5fZadxBk vSHphnIGrM4kdpCAIDXdbg88h0NFbdCKOtAZ7JfcgOXIHAFYE2XpT4AxY1YoS6yntHLm qyxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=UfindXUFk/1E82R9Y9cAhgsZnwh38465tW8YwtHVSc8=; b=RxE0lnshL3wYrrG8Hufv8lu3WEbF4H7Ve/twdGSw6OfKjCcklv/q//Jyo7AaQxMAH9 OHhKjA6CiD5xFWUPbBmVfa2L7+uAcU33HD/G6hRnz/BPzECTWW8CPSVlNDz6CPW55JW3 2OdMAaOCXZgxgldvC6uXWVg3oo6dZgi+nOpzlaR8bh4AOyU+Q5an8Af50pPbNnQayC6c KOP2kZjyAnHexOVyZSHr/pFVv1/JafWztFHpSKdEd1iMvMTmjrYy1EndCwyDYTdtxLVc jZo/k7TvzA0KLhno5jtKkUl/lELn4L5PMxE3U6YUfT3iVfQEL/Y883G4OtWXf0bxkysL 1GZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u+2D78X8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21-v6si8973703pgb.553.2018.07.23.05.46.15; Mon, 23 Jul 2018 05:46:29 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u+2D78X8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388546AbeGWNpd (ORCPT + 99 others); Mon, 23 Jul 2018 09:45:33 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:54562 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388102AbeGWNpc (ORCPT ); Mon, 23 Jul 2018 09:45:32 -0400 Received: by mail-it0-f67.google.com with SMTP id s7-v6so1239938itb.4; Mon, 23 Jul 2018 05:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UfindXUFk/1E82R9Y9cAhgsZnwh38465tW8YwtHVSc8=; b=u+2D78X88OA6oKxZ4GhA4tmS/vQTxnaw6Aik/Dac0khskFbEuV1+H1LwSNhmHGXDhZ bbMfUbBy0SD/Bk5q+2l3pX9S9RXhz4Dum3iVNyZeOZVnDF79WfFsauUxon5HjFycz+bn bkgrKZPbWtNYxDGjA/aC+L+7HC8d9wnG1K7nH1EiAjUSjR9DOry+LeRjc6Jz8M/Oraqx RHicAQ1YdcjCc/MSYU7eHqjVqgxC/0CX0Bi+Zne+zkvysKiX/oFiOr4PdYyFtOXgP4li +tq2jMrwKQEGK8UPpO3xiAHKSXMbOoHF+l0LMbfI1M/pIXRJElXKj+0u49LwNgDk1FxK DITA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UfindXUFk/1E82R9Y9cAhgsZnwh38465tW8YwtHVSc8=; b=QopoOA15q4IDkht0ajgwYmmxe0JP4q/9kDo6R1MW2RwdV/JVk1+kCBIxg7o5ByZagr BL3aQrRYncAa4bhs51CZ7PsX3j6vSTEImkOtiIVIEIjdfrrtyIQV72d6zqc2aZ2ZdXU+ KAw1u2srJnrEh4btVH7Hl363areBDRwuR5eH3RaIRFnApOb8tLO/CcAOgZSpY9Sfm0zY 1WeAEdCcjnIgucDGp90iKrb+k9nfgg3R2YNBTXCuU8KvNBDBQPzJu23xCx3x6RchLW1P cFh8eQp+nOvKs3IV2IwO72gVnUgZ+4eHBdl7gSSXSKA1gbK3jdXvol4e/pDI7/D229Ob rCBQ== X-Gm-Message-State: AOUpUlHH5741A25FIVwDO0TmPUod6m8OgveuenHwsoNbrRnbG01mus3V q1cFLHYWfI0STvDUU5fNelo32rnDhjHBTdOq4bE= X-Received: by 2002:a24:83c6:: with SMTP id d189-v6mr10778353ite.75.1532349869227; Mon, 23 Jul 2018 05:44:29 -0700 (PDT) MIME-Version: 1.0 References: <20180723123429.20040-1-yuehaibing@huawei.com> In-Reply-To: <20180723123429.20040-1-yuehaibing@huawei.com> From: Ilia Lin Date: Mon, 23 Jul 2018 15:44:17 +0300 Message-ID: Subject: Re: [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array To: yuehaibing@huawei.com Cc: "Rafael J . Wysocki" , Viresh Kumar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 23, 2018 at 3:38 PM YueHaibing wrote: > > Make sure of_device_id tables are NULL terminated > Found by coccinelle spatch "misc/of_table.cocci" > > Signed-off-by: YueHaibing > --- > drivers/cpufreq/qcom-cpufreq-kryo.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c > index 29389ac..efc9a7a 100644 > --- a/drivers/cpufreq/qcom-cpufreq-kryo.c > +++ b/drivers/cpufreq/qcom-cpufreq-kryo.c > @@ -183,6 +183,7 @@ static struct platform_driver qcom_cpufreq_kryo_driver = { > static const struct of_device_id qcom_cpufreq_kryo_match_list[] __initconst = { > { .compatible = "qcom,apq8096", }, > { .compatible = "qcom,msm8996", }, > + {} > }; > > /* > -- > 2.7.0 > > Acked-by: Ilia Lin