From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Gao Subject: Re: [PATCH] thermal: fix of_table.cocci warnings Date: Mon, 29 Aug 2016 10:00:00 -0700 Message-ID: <20160829170000.GA60737@worksta> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga02.intel.com ([134.134.136.20]:53979 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753409AbcH2QzE (ORCPT ); Mon, 29 Aug 2016 12:55:04 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Julia Lawall Cc: Zhang Rui , Eduardo Valentin , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, ysiyer , Bin Gao On Sat, Aug 27, 2016 at 08:59:12PM +0200, Julia Lawall wrote: > Make sure (of/i2c/platform)_device_id tables are NULL terminated > Generated by: scripts/coccinelle/misc/of_table.cocci > > CC: Yegnesh S Iyer > Signed-off-by: Julia Lawall > Signed-off-by: Fengguang Wu > --- > > Please take the patch only if it's a positive warning. Thanks! > > intel_bxt_pmic_thermal.c | 1 + > 1 file changed, 1 insertion(+) > > --- a/drivers/thermal/intel_bxt_pmic_thermal.c > +++ b/drivers/thermal/intel_bxt_pmic_thermal.c > @@ -281,6 +281,7 @@ static struct platform_device_id pmic_th > .name = "bxt_wcove_thermal", > .driver_data = (kernel_ulong_t)&bxtwc_thermal_data, > }, > + {}, > }; > > static struct platform_driver pmic_thermal_driver = { Included in v5. Thanks. -Bin