Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3928169imm; Mon, 8 Oct 2018 11:50:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV61DeVHt00jMXdZCcJCD535m9II7TYvBZb5wbn5eL/70yuxDOmM9BXjXMej8ZSm6m6xwhXBd X-Received: by 2002:a17:902:8d82:: with SMTP id v2-v6mr25838555plo.9.1539024616630; Mon, 08 Oct 2018 11:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539024616; cv=none; d=google.com; s=arc-20160816; b=P41sIbPrfOcwYtEQjn1jrlHvNJOL22FhCGRhaKiI+SXsO0+1v5irgyOsBTfyFXbcf4 P/TayNMKxaQBksPftoMYY7/V8FT53fLXBY2awtUKENifEZ0n/qTdF6I+CGs8kX8Dc+4O Ac2j3qI9Ef7kA534XFg5QCGS/UPZjxUF2bVhW90q3sHmHnd49V0et+4DJVO9OqJLq9+s 70s/oTPBHwuD2OFFrwBq95vAG57X8xXQRdXE8GxrQPeV+CzeS8Puwy4pixJivepGgg2b t46XXH4poRMmvP1dpehq+gOisze7pGzA2bociDaBpAWJANsTC609sglEVgGeNkIqxXd5 npyA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kecZ2L44uevrYfEXBA0c2eD8jB9Y4NmoiudQ3dzyLRw=; b=GVTis7BGzm1d6oXI7AThdsbNn53uP2Ezewr1dfdG1EVs7Fqdn4QOTFF6XQdOVfGtM6 FSUNeoyqO1DH+QC6DCKds5EDwAzjcL2liowyZ2n3U8jhgSFXnAM8F7MAoXtrptKL7hEu z8YDIWrfgZs1shHlStN4JWkvMR3xQTRiBut83eGhvea6XkMbDJZ4QgO9p43mhgt83w/d Te5H639YvkuDrWhzh8SUTwDmQUfuWnrvlTr6/cyhIs0zUgRkrnnYtxhw05EEfpa+xgsp cYwyUvGOCaewwh3gKFTO855mGqZcLLygsnUeh7kheIdLPkf9WkhjSzS7FBFFRzPfHh0c FUxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lKgUb0nd; 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 ce19-v6si8360079plb.162.2018.10.08.11.50.01; Mon, 08 Oct 2018 11:50:16 -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=@kernel.org header.s=default header.b=lKgUb0nd; 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 S1731981AbeJICDA (ORCPT + 99 others); Mon, 8 Oct 2018 22:03:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:52434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730559AbeJICDA (ORCPT ); Mon, 8 Oct 2018 22:03:00 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B615621479; Mon, 8 Oct 2018 18:49:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539024593; bh=v0uSDY0aiH9rRGiekaKeCHuoAMyiAlcBBUFBwoeFmmQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lKgUb0ndZz1pGi5PcJvCPnScimO6/giNgtFtLu0oYUlWKsukQXbrD6Cu9GZ0diFoO 6HUm1N5kWawMw+abkTxNgHJxda1Ab7J1jY4TnEw7ZkP7iiRhyWH8cSoLe8ON6jQiVm s0IU9UHK2KGCZFXSmHcBNuBG4WD/Nm/ACZSONH84= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , Greentime Hu , Sasha Levin Subject: [PATCH 4.18 067/168] nds32: add NULL entry to the end of_device_id array Date: Mon, 8 Oct 2018 20:30:47 +0200 Message-Id: <20181008175622.604229905@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181008175620.043587728@linuxfoundation.org> References: <20181008175620.043587728@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: YueHaibing [ Upstream commit 1944a50859ec2b570b42b459ac25d607fc7c31f0 ] Make sure of_device_id tables are NULL terminated. Found by coccinelle spatch "misc/of_table.cocci" Signed-off-by: YueHaibing Acked-by: Greentime Hu Signed-off-by: Greentime Hu Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/nds32/kernel/atl2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/arch/nds32/kernel/atl2c.c +++ b/arch/nds32/kernel/atl2c.c @@ -9,7 +9,8 @@ void __iomem *atl2c_base; static const struct of_device_id atl2c_ids[] __initconst = { - {.compatible = "andestech,atl2c",} + {.compatible = "andestech,atl2c",}, + {} }; static int __init atl2c_of_init(void)