Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp942132imj; Sat, 9 Feb 2019 11:22:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IZRKor03HcPEoWQtc74dzUzg2gUCP8/pU8ZHu0rWNz6WhXt9PaRe+rWrK39L8J/xAUTbPGd X-Received: by 2002:a63:4658:: with SMTP id v24mr26307526pgk.114.1549740163677; Sat, 09 Feb 2019 11:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549740163; cv=none; d=google.com; s=arc-20160816; b=E4tDXvX+BnQ88W9cAI9muBOGYTS5OmeYjY4yUZIeBTnj1ADIdxml3soVycH4Aw2hCp v2Bhpd8MqGvA5tbE2sDl+uzfappiCdSKztya8hmgllwot6AmW0W8Or3m/UE/UxhLc91N ompB/URVZgLS5wKanyKJyr/Ug9WyMdrX/qV3ess2n/Nwur9BRTz08m2sRy704roQUysd c1Yv1ZMGyse+18+0RvmoalwzI3WsitpZokvjbp9zTUd2mRVcO4zTraMqkxnBe8cKxB3i T4LAAA5kaJ4blwUMNdVsEuX2Dip3DNtRV2AU/q3ZXBxK7ig5ivJTJSAFV2tj6tlWQSJp 2+6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=SjmAcy1e8VsfjVqaejazfoWx8/Og2DTE+/SFeC26280=; b=ePENcteEEACB0cg3Y3J4KL41GFOLFaWfjdtaeDKGFzUmdG4AClQFGIfbE9QVbY5aTL ExaQ6ao125H+uENK4FSRFadaew0yuQN5PS5g8AR8hrpKQCq9dRuuU4Ch97/8YBJpZK8J UYAOiHdcdMWGrc4iW4GXmLpbCLk7Rg71lZemF25XDWSl3Ue6QCjgNY5rRHZlh6f1JkM0 Tv1GeOa+dTGiX9+S74JMMa0AbPDG5xkEB/Cot0hFhxpQs9IazcYt7/Y2UG4uVFrducbe ZlCHMGrmFGOE/h+kmJaQJKEbWawrGJD476OIY9ZQxnsAXrpOZexqiH5BjbsrpMdkN4tT YfQQ== 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 c9si3035559pfm.127.2019.02.09.11.22.27; Sat, 09 Feb 2019 11:22:43 -0800 (PST) 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 S1727277AbfBITWX (ORCPT + 99 others); Sat, 9 Feb 2019 14:22:23 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:9192 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727187AbfBITWX (ORCPT ); Sat, 9 Feb 2019 14:22:23 -0500 X-IronPort-AV: E=Sophos;i="5.58,352,1544482800"; d="scan'208";a="368708333" Received: from abo-58-107-68.mrs.modulonet.fr (HELO hadrien) ([85.68.107.58]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Feb 2019 20:22:20 +0100 Date: Sat, 9 Feb 2019 20:22:20 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Linus Walleij cc: Bartosz Golaszewski , kbuild-all@01.org, linux-gpio@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: fix of_table.cocci warnings Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot Make sure (of/i2c/platform)_device_id tables are NULL terminated Generated by: scripts/coccinelle/misc/of_table.cocci Fixes: cfa6215225c6 ("gpio: Add a Gateworks PLD GPIO driver") Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel head: 9073ca27d806ed4dbb35ea13de4712048175bdef commit: cfa6215225c6c6f62d7045e484285a99a5a69f98 [20/24] gpio: Add a Gateworks PLD GPIO driver :::::: branch date: 7 hours ago :::::: commit date: 11 hours ago Please take the patch only if it's a positive warning. Thanks! gpio-gw-pld.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpio/gpio-gw-pld.c +++ b/drivers/gpio/gpio-gw-pld.c @@ -119,6 +119,7 @@ MODULE_DEVICE_TABLE(i2c, gw_pld_id); static const struct of_device_id gw_pld_dt_ids[] = { { .compatible = "gateworks,pld-gpio", }, + {}, }; MODULE_DEVICE_TABLE(of, gw_pld_dt_ids);