Re: [PATCH] thermal: fix of_table.cocci warnings
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)_thermal_data, > }, > + {}, > }; > > static struct platform_driver pmic_thermal_driver = { Included in v5. Thanks. -Bin
Re: [PATCH] thermal: fix of_table.cocci warnings
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)_thermal_data, > }, > + {}, > }; > > static struct platform_driver pmic_thermal_driver = { Included in v5. Thanks. -Bin
[PATCH] thermal: fix of_table.cocci warnings
Make sure (of/i2c/platform)_device_id tables are NULL terminated Generated by: scripts/coccinelle/misc/of_table.cocci CC: Yegnesh S IyerSigned-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)_thermal_data, }, + {}, }; static struct platform_driver pmic_thermal_driver = {
[PATCH] thermal: fix of_table.cocci warnings
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)_thermal_data, }, + {}, }; static struct platform_driver pmic_thermal_driver = {