Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5756407imm; Mon, 23 Jul 2018 05:39:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd7I/2vuwqBTPYXrzP7Bnu+0Obusx+I5ITB+HVfp0O7xc1mUv6u5vHl29D2mWl9II7x5ziu X-Received: by 2002:a17:902:301:: with SMTP id 1-v6mr12640129pld.127.1532349585455; Mon, 23 Jul 2018 05:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532349585; cv=none; d=google.com; s=arc-20160816; b=hnZGCN3L+A+V8b3lhPMs7y+YzCkuhJhuxDnhL0ZVrEqL3FSQQhzSQ0Jz8D9Zod2o+u rvpfQ5Fr/6ylpdGGGyvW5rQ2yNSvtbohY2/BX1Ais9zSN8F/O58dOfRAjoP6GdJKH37B MpKgnAw1gJHt+bvJM13tLc5/GIuyNmWOXtz/nzZnvtnm2T31/85sNc70oTL1cuVhJwDY asGeExR1qSzRv6hkcOf5milf1DCcRhxmpvpmbzgCDQK3OTBQVCXs+PHhvFb1M6o/LqPz J3M9hMh4uzvmy7tbJOsL+YthZAWXsQ8bfp7MU9F/Hc7veUgiFi4QQG95dJnmlc7i8y/w U6Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=DOv+lOlF+ke+Sq7tRnQlWAaxmiPqnC8Jsj4lPaQW0tw=; b=0vmqnzmeCpk/aFzQfjd7bRTP53d2QpojjUb08jBiMgitptyrSr6jXJBkJn8m0G21jV 4SPnWo04j/nScIJhCE6d3Ql/2dKjfnIbC8Bgn1sIBMNdQ0v3bR7gS/KkRROTUXE7Uhw0 w8lxbk7+WL3oHgt5ckEhSzwygdeM/mxnAsqUsYg5zMp/cPKFpnBwd/cQmrb0FFCmbMVr tsSaoxxi3dMwJVcPJu+do3rJR+BS4hWKaoHJvjgef0f94VECaK88yIZVOO+QVD9dJD68 +MMhQI4JeQ6OdsHmfoVCbr6OvLWMFTQjp5z+JPlAdzkyoK/4Tg9bWaPRToGWFc6Fkq3G MxiQ== 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 c3-v6si8149091pld.457.2018.07.23.05.39.30; Mon, 23 Jul 2018 05:39:45 -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 S2389370AbeGWNjE (ORCPT + 99 others); Mon, 23 Jul 2018 09:39:04 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9709 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388261AbeGWNjC (ORCPT ); Mon, 23 Jul 2018 09:39:02 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id BCCA59F9E70DE; Mon, 23 Jul 2018 20:37:54 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.382.0; Mon, 23 Jul 2018 20:37:47 +0800 From: YueHaibing To: , , CC: , , YueHaibing Subject: [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array Date: Mon, 23 Jul 2018 20:34:29 +0800 Message-ID: <20180723123429.20040-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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