From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 094DFC282C4 for ; Sat, 9 Feb 2019 19:22:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CCB49217D8 for ; Sat, 9 Feb 2019 19:22:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727301AbfBITWX (ORCPT ); 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);