* [RESEND PATCH] vfio: Drop owner assignment from platform_driver
@ 2015-11-19 4:00 Krzysztof Kozlowski
2015-11-19 22:49 ` Alex Williamson
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2015-11-19 4:00 UTC (permalink / raw)
To: Baptiste Reynal, Alex Williamson, kvm, linux-kernel; +Cc: Krzysztof Kozlowski
platform_driver does not need to set an owner because
platform_driver_register() will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
---
The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
drivers/vfio/platform/vfio_platform.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/vfio/platform/vfio_platform.c b/drivers/vfio/platform/vfio_platform.c
index f1625dcfbb23..b1cc3a768784 100644
--- a/drivers/vfio/platform/vfio_platform.c
+++ b/drivers/vfio/platform/vfio_platform.c
@@ -92,7 +92,6 @@ static struct platform_driver vfio_platform_driver = {
.remove = vfio_platform_remove,
.driver = {
.name = "vfio-platform",
- .owner = THIS_MODULE,
},
};
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RESEND PATCH] vfio: Drop owner assignment from platform_driver
2015-11-19 4:00 [RESEND PATCH] vfio: Drop owner assignment from platform_driver Krzysztof Kozlowski
@ 2015-11-19 22:49 ` Alex Williamson
0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2015-11-19 22:49 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: Baptiste Reynal, kvm, linux-kernel
On Thu, 2015-11-19 at 13:00 +0900, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Acked-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
>
> ---
Oops, sorry I dropped it. Since it's a fix, I'll queue it for 4.4.
Thanks,
Alex
>
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
> drivers/vfio/platform/vfio_platform.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/vfio/platform/vfio_platform.c b/drivers/vfio/platform/vfio_platform.c
> index f1625dcfbb23..b1cc3a768784 100644
> --- a/drivers/vfio/platform/vfio_platform.c
> +++ b/drivers/vfio/platform/vfio_platform.c
> @@ -92,7 +92,6 @@ static struct platform_driver vfio_platform_driver = {
> .remove = vfio_platform_remove,
> .driver = {
> .name = "vfio-platform",
> - .owner = THIS_MODULE,
> },
> };
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-19 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19 4:00 [RESEND PATCH] vfio: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-11-19 22:49 ` Alex Williamson
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).