thermal: imx8mm_thermal: Fix function pointer declaration by adding identifier name
Subsystems (2)
PATCH 1/1 thermal: imx8mm_thermal: Fix function pointer declaration by adding identifier name
Added identifier names to respective definitions for fix warnings reported by checkpatch.pl
WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier name
--- drivers/thermal/imx8mm_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/imx8mm_thermal.c +1 -1
@@ -78,7 +78,7 @@struct thermal_soc_data {u32 num_sensors;u32 version; -int (*get_temp)(void *,int *); +int (*get_temp)(void *data,int *temp); };struct tmu_sensor {
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 15 lines · Bragatheswaran Manickavel
Added identifier names to respective definitions for fix warnings reported by checkpatch.pl
WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier nameSigned-off-by Bragatheswaran Manickavel <[email protected]>---
drivers/thermal/imx8mm_thermal.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/imx8mm_thermal.c +0
-0
drivers/thermal/imx8mm_thermal.c line 84
Quoted 8 lines
drivers/thermal/imx8mm_thermal.c +1
-1@@ -78,7 +78,7 @@struct thermal_soc_data { u32 num_sensors; u32 version; - int (*get_temp)(void *, int *); + int (*get_temp)(void *data, int *temp); };struct tmu_sensor {
Gentle remainder
Quoted 15 lines · Bragatheswaran Manickavel
Added identifier names to respective definitions for fix warnings reported by checkpatch.pl
WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier nameSigned-off-by Bragatheswaran Manickavel <[email protected]>--- drivers/thermal/imx8mm_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/imx8mm_thermal.c +0
-0
drivers/thermal/imx8mm_thermal.c line 84
Quoted 8 lines
drivers/thermal/imx8mm_thermal.c +1
-1@@ -78,7 +78,7 @@struct thermal_soc_data {u32 num_sensors;u32 version; -int (*get_temp)(void *,int *); +int (*get_temp)(void *data,int *temp); };struct tmu_sensor {
Hi Team, Could someone help in reviewing it.
Thanks,
Bragathe
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 12 lines · Bragatheswaran Manickavel
Quoted 10 lines · Bragatheswaran Manickavel
Added identifier names to respective definitions for fix warnings reported by checkpatch.pl
WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier nameSigned-off-by Bragatheswaran Manickavel <[email protected]>---
drivers/thermal/imx8mm_thermal.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
drivers/thermal/imx8mm_thermal.c line 83
Quoted 12 lines
drivers/thermal/imx8mm_thermal.c +1
-1@@ -78,7 +78,7 @@ struct thermal_soc_data { u32 num_sensors; u32 version; - int (*get_temp)(void *, int *); + int (*get_temp)(void *data, int *temp); }; struct tmu_sensor {Hi Team, Could someone help in reviewing it.
Please no more "gentle reminder"
Read:
Especially, the section _9_
Thanks
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Quoted 32 lines · Daniel Lezcano
Quoted 12 lines · Bragatheswaran Manickavel
Quoted 10 lines · Bragatheswaran Manickavel
Added identifier names to respective definitions for fix warnings reported by checkpatch.pl
WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier nameSigned-off-by Bragatheswaran Manickavel <[email protected]>---
drivers/thermal/imx8mm_thermal.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
drivers/thermal/imx8mm_thermal.c line 83
Quoted 12 lines
drivers/thermal/imx8mm_thermal.c +1
-1@@ -78,7 +78,7 @@ struct thermal_soc_data { u32 num_sensors; u32 version; - int (*get_temp)(void *, int *); + int (*get_temp)(void *data, int *temp); }; struct tmu_sensor {Hi Team, Could someone help in reviewing it.
Please no more "gentle reminder"
Read:
Quoted 9 lines
Especially, the section _9_
Thanks
-- Daniel
Hi Daniel,
Understood. Will wait for this to get reviewed.
Thanks,
Bragathe
Daniel Lezcano
AppliedQuoted 7 lines · Bragatheswaran Manickavel
Added identifier names to respective definitions for fix warnings reported by checkpatch.pl
WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier nameSigned-off-by Bragatheswaran Manickavel <[email protected]>---
Applied, thanks
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog