Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp44827pxj; Wed, 16 Jun 2021 19:50:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzlQn+2I/7BF12Exvr0yZOYF+2qrdQt9Zvbc3o2hdqlq9eezXPQTWJzxg/ayrFgiW3MzbN X-Received: by 2002:a6b:7b0a:: with SMTP id l10mr1878341iop.120.1623898229901; Wed, 16 Jun 2021 19:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623898229; cv=none; d=google.com; s=arc-20160816; b=i2yt4Z5ObcH/E7hyaGUkWI1pV39oyou89veRVjMqGaiSgNXZi2Zrl6ugjE0EOsfIqh s08uy8NYPwj5BJHPcng57eJuBZL4ZKFly3BR++gLmwTJS4JuHRIXieiZfeoKVPiSzyLg U5Luby5HZBrAUsEWsFW76v9O4vNmfgmYq//Vqzl2M9zCWuhxGhV+gpCcjUZYrc5O/K+n GysZxogBdQaE9F5oe0g5MijnPdicsAAt62s0js4K2PanlQyEa06uVGQ6WGyYC+tgN3n6 GthZueXRwRIhQHIYgNNndiXLRsIdxVjLyp6FYHZ0DS+p7WGdcDz3yyhrJHu81B/LtMm0 9lwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=FuzKAnA8l1gDzM0LWTuejRXamT/n3waFKmuqVdhqKWc=; b=B505JcqVN7oYZeTMw68yz29gXkoU/qHehp2P7U5NiZLXEAHNiUidaHmflctA8+x27X 4cvpZEDziE0sVWWI1TfFF7SO6oTIMf7GHrWhz/7sI1PFHs62zdTxJct8wD/pLcDuduaQ tIRhg6Cistbbvbb4EVSWsfGIk3IwX4BFMQH9vpkS+JBrxMp7N0W6K2iWyWS/V96r7CTq TK2ZC1zoJNlTEEQ873iVjlKrQfVJ7KXScLEORSLDbxt3jY5f+UFDqrx/EhASOjzaF9jF Pk3p4UPxiQSN+FXMjLJ7U5YSD2UZ87FI0+1Nddno2HTaq/FjrgyOwwoF3++0K64p761T 3ZLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si4580820iol.83.2021.06.16.19.50.18; Wed, 16 Jun 2021 19:50:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230103AbhFQCk1 (ORCPT + 99 others); Wed, 16 Jun 2021 22:40:27 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:7337 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbhFQCk1 (ORCPT ); Wed, 16 Jun 2021 22:40:27 -0400 Received: from dggeml759-chm.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4G55jR1RLQz6y4r; Thu, 17 Jun 2021 10:34:19 +0800 (CST) Received: from localhost.localdomain (10.175.102.38) by dggeml759-chm.china.huawei.com (10.1.199.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 17 Jun 2021 10:38:18 +0800 From: Wei Yongjun To: , Alistair Francis , Liam Girdwood , Mark Brown CC: , , Hulk Robot Subject: [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables Date: Thu, 17 Jun 2021 02:48:38 +0000 Message-ID: <20210617024838.1023794-1-weiyongjun1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Originating-IP: [10.175.102.38] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggeml759-chm.china.huawei.com (10.1.199.138) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make sure platform_device_id tables are NULL terminated. Fixes: 8c485bedfb78 ("regulator: sy7636a: Initial commit") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- drivers/regulator/sy7636a-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c index c384c2b6ac46..672b7055131d 100644 --- a/drivers/regulator/sy7636a-regulator.c +++ b/drivers/regulator/sy7636a-regulator.c @@ -110,6 +110,7 @@ static int sy7636a_regulator_probe(struct platform_device *pdev) static const struct platform_device_id sy7636a_regulator_id_table[] = { { "sy7636a-regulator", }, + {}, }; MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);