From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755215AbcH2QzG (ORCPT ); Mon, 29 Aug 2016 12:55:06 -0400 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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,597,1470726000"; d="scan'208";a="1021837134" Date: Mon, 29 Aug 2016 10:00:00 -0700 From: Bin Gao To: Julia Lawall Cc: Zhang Rui , Eduardo Valentin , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, ysiyer , Bin Gao Subject: Re: [PATCH] thermal: fix of_table.cocci warnings Message-ID: <20160829170000.GA60737@worksta> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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