* [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings
[not found] <201412212210.5BfVGAAA%fengguang.wu@intel.com>
@ 2014-12-21 14:21 ` kbuild test robot
2014-12-22 1:54 ` Aaron Lu
0 siblings, 1 reply; 7+ messages in thread
From: kbuild test robot @ 2014-12-21 14:21 UTC (permalink / raw)
To: Aaron Lu; +Cc: kbuild-all, Zhang Rui, Eduardo Valentin, linux-pm, linux-kernel
drivers/thermal/int340x_thermal/int3402_thermal.c:234:6-11: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
int3402_thermal.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/thermal/int340x_thermal/int3402_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3402_thermal.c
@@ -231,7 +231,6 @@ static struct platform_driver int3402_th
.remove = int3402_thermal_remove,
.driver = {
.name = "int3402 thermal",
- .owner = THIS_MODULE,
.acpi_match_table = int3402_thermal_match,
},
};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings
2014-12-21 14:21 ` [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2014-12-22 1:54 ` Aaron Lu
0 siblings, 0 replies; 7+ messages in thread
From: Aaron Lu @ 2014-12-22 1:54 UTC (permalink / raw)
To: kbuild test robot
Cc: kbuild-all, Zhang Rui, Eduardo Valentin, linux-pm, linux-kernel
On 12/21/2014 10:21 PM, kbuild test robot wrote:
> drivers/thermal/int340x_thermal/int3402_thermal.c:234:6-11: No need to set .owner here. The core will do it.
>
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> CC: Aaron Lu <aaron.lu@intel.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Looks good to me, thanks!
-Aaron
> ---
>
> int3402_thermal.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/thermal/int340x_thermal/int3402_thermal.c
> +++ b/drivers/thermal/int340x_thermal/int3402_thermal.c
> @@ -231,7 +231,6 @@ static struct platform_driver int3402_th
> .remove = int3402_thermal_remove,
> .driver = {
> .name = "int3402 thermal",
> - .owner = THIS_MODULE,
> .acpi_match_table = int3402_thermal_match,
> },
> };
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [soc-thermal:for-kernelci 34/35] drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it.
@ 2019-04-23 19:32 kbuild test robot
2019-04-23 19:32 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
0 siblings, 1 reply; 7+ messages in thread
From: kbuild test robot @ 2019-04-23 19:32 UTC (permalink / raw)
To: Talel Shenhar
Cc: kbuild-all, linux-pm, Eduardo Valentin, David Woodhouse,
Daniel Lezcano
tree: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git for-kernelci
head: 0e50a5ee6b8a23c6798aae23efcd4b8e055c06ef
commit: 35838aa51cd6dbf5ae2c78ecd1d1df0cc0324256 [34/35] thermal: Introduce Amazon's Annapurna Labs Thermal Driver
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
coccinelle warnings: (new ones prefixed by >>)
>> drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it.
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] thermal: fix platform_no_drv_owner.cocci warnings
2019-04-23 19:32 [soc-thermal:for-kernelci 34/35] drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2019-04-23 19:32 ` kbuild test robot
2019-04-28 11:24 ` Shenhar, Talel
0 siblings, 1 reply; 7+ messages in thread
From: kbuild test robot @ 2019-04-23 19:32 UTC (permalink / raw)
To: Talel Shenhar
Cc: kbuild-all, linux-pm, Eduardo Valentin, David Woodhouse,
Daniel Lezcano
From: kbuild test robot <lkp@intel.com>
drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Fixes: 35838aa51cd6 ("thermal: Introduce Amazon's Annapurna Labs Thermal Driver")
CC: Talel Shenhar <talel@amazon.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git for-kernelci
head: 0e50a5ee6b8a23c6798aae23efcd4b8e055c06ef
commit: 35838aa51cd6dbf5ae2c78ecd1d1df0cc0324256 [34/35] thermal: Introduce Amazon's Annapurna Labs Thermal Driver
thermal_mmio.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/thermal/thermal_mmio.c
+++ b/drivers/thermal/thermal_mmio.c
@@ -117,7 +117,6 @@ static struct platform_driver thermal_mm
.probe = thermal_mmio_probe,
.driver = {
.name = "thermal-mmio",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(thermal_mmio_id_table),
},
};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] thermal: fix platform_no_drv_owner.cocci warnings
2019-04-23 19:32 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2019-04-28 11:24 ` Shenhar, Talel
0 siblings, 0 replies; 7+ messages in thread
From: Shenhar, Talel @ 2019-04-28 11:24 UTC (permalink / raw)
To: kbuild test robot, Eduardo Valentin
Cc: kbuild-all, linux-pm, David Woodhouse, Daniel Lezcano
Acked-by: Talel Shenhar <talel@amazon.com>
On 4/23/2019 10:32 PM, kbuild test robot wrote:
> From: kbuild test robot <lkp@intel.com>
>
> drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it.
>
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Fixes: 35838aa51cd6 ("thermal: Introduce Amazon's Annapurna Labs Thermal Driver")
> CC: Talel Shenhar <talel@amazon.com>
> Signed-off-by: kbuild test robot <lkp@intel.com>
> ---
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git for-kernelci
> head: 0e50a5ee6b8a23c6798aae23efcd4b8e055c06ef
> commit: 35838aa51cd6dbf5ae2c78ecd1d1df0cc0324256 [34/35] thermal: Introduce Amazon's Annapurna Labs Thermal Driver
>
> thermal_mmio.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/thermal/thermal_mmio.c
> +++ b/drivers/thermal/thermal_mmio.c
> @@ -117,7 +117,6 @@ static struct platform_driver thermal_mm
> .probe = thermal_mmio_probe,
> .driver = {
> .name = "thermal-mmio",
> - .owner = THIS_MODULE,
> .of_match_table = of_match_ptr(thermal_mmio_id_table),
> },
> };
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] thermal: add brcmstb AVS TMON driver
[not found] ` <20170605210930.65432-3-code-7CzEARzsJhSsTnJN9+BGXg@public.gmane.org>
@ 2017-06-06 7:50 kbuild test robot
[not found] ` <20170605210930.65432-3-code-7CzEARzsJhSsTnJN9+BGXg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: kbuild test robot @ 2017-06-06 7:50 UTC (permalink / raw)
To: Markus Mayer
Cc: kbuild-all-JC7UmRfGjtg, Zhang Rui, Eduardo Valentin, Rob Herring,
Mark Rutland, Doug Berger, Brian Norris, Gregory Fong,
Florian Fainelli, Rafał Miłecki, Broadcom Kernel List,
Power Management List, Device Tree List, ARM Kernel List,
Linux Kernel Mailing List, Markus Mayer
Hi Brian,
[auto build test WARNING on thermal/next]
[also build test WARNING on v4.12-rc4 next-20170606]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Markus-Mayer/Documentation-devicetree-add-binding-for-Broadcom-STB-AVS-TMON/20170606-133113
base: https://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next
coccinelle warnings: (new ones prefixed by >>)
>> drivers/thermal/broadcom/brcmstb_thermal.c:353:3-8: No need to set .owner here. The core will do it.
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <201411161721.jEzvtBAi%fengguang.wu@intel.com>]
* [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings
[not found] <201411161721.jEzvtBAi%fengguang.wu@intel.com>
@ 2014-11-17 6:24 ` Fengguang Wu
2014-11-17 7:57 ` Zhang Rui
0 siblings, 1 reply; 7+ messages in thread
From: Fengguang Wu @ 2014-11-17 6:24 UTC (permalink / raw)
To: linux-pm; +Cc: Lan Tianyu, Zhang Rui, LKML
drivers/thermal/int340x_thermal/int3403_thermal.c:468:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
int3403_thermal.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/thermal/int340x_thermal/int3403_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3403_thermal.c
@@ -465,7 +465,6 @@ static struct platform_driver int3403_dr
.remove = int3403_remove,
.driver = {
.name = "int3403 thermal",
- .owner = THIS_MODULE,
.acpi_match_table = int3403_device_ids,
},
};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings
2014-11-17 6:24 ` [PATCH] Thermal: " Fengguang Wu
@ 2014-11-17 7:57 ` Zhang Rui
0 siblings, 0 replies; 7+ messages in thread
From: Zhang Rui @ 2014-11-17 7:57 UTC (permalink / raw)
To: Fengguang Wu; +Cc: linux-pm, Lan Tianyu, LKML
On 一, 2014-11-17 at 14:24 +0800, Fengguang Wu wrote:
> drivers/thermal/int340x_thermal/int3403_thermal.c:468:3-8: No need to set .owner here. The core will do it.
>
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
thanks,
rui
> ---
>
> int3403_thermal.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/thermal/int340x_thermal/int3403_thermal.c
> +++ b/drivers/thermal/int340x_thermal/int3403_thermal.c
> @@ -465,7 +465,6 @@ static struct platform_driver int3403_dr
> .remove = int3403_remove,
> .driver = {
> .name = "int3403 thermal",
> - .owner = THIS_MODULE,
> .acpi_match_table = int3403_device_ids,
> },
> };
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-04-28 11:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201412212210.5BfVGAAA%fengguang.wu@intel.com>
2014-12-21 14:21 ` [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
2014-12-22 1:54 ` Aaron Lu
2019-04-23 19:32 [soc-thermal:for-kernelci 34/35] drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it kbuild test robot
2019-04-23 19:32 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
2019-04-28 11:24 ` Shenhar, Talel
-- strict thread matches above, loose matches on Subject: below --
2017-06-06 7:50 [PATCH 2/2] thermal: add brcmstb AVS TMON driver kbuild test robot
[not found] ` <20170605210930.65432-3-code-7CzEARzsJhSsTnJN9+BGXg@public.gmane.org>
2017-06-06 7:50 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
[not found] <201411161721.jEzvtBAi%fengguang.wu@intel.com>
2014-11-17 6:24 ` [PATCH] Thermal: " Fengguang Wu
2014-11-17 7:57 ` Zhang Rui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).