linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [spi:topic/lantiq-ssc 11/12] drivers/spi/spi-lantiq-ssc.c:973:3-8: No need to set .owner here. The core will do it.
@ 2017-02-19 17:33 kbuild test robot
  2017-02-19 17:33 ` [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings kbuild test robot
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2017-02-19 17:33 UTC (permalink / raw)
  To: Hauke Mehrtens
  Cc: kbuild-all-JC7UmRfGjtg, linux-spi-u79uwXL29TY76Z2rM5mHXA, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git topic/lantiq-ssc
head:   30fb27239f987c53429f24297f5d46e28d0e16ed
commit: 582c97f6868cf70720a17d2421d317333f3ad597 [11/12] spi: lantiq-ssc: activate under COMPILE_TEST


coccinelle warnings: (new ones prefixed by >>)

>> drivers/spi/spi-lantiq-ssc.c:973: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 linux-spi" 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] 4+ messages in thread

* [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings
  2017-02-19 17:33 [spi:topic/lantiq-ssc 11/12] drivers/spi/spi-lantiq-ssc.c:973:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2017-02-19 17:33 ` kbuild test robot
       [not found]   ` <20170219173310.GA64236-zqhkPGYYkloFTpe94t1N+dh3ngVCH38I@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2017-02-19 17:33 UTC (permalink / raw)
  To: Hauke Mehrtens; +Cc: kbuild-all, linux-spi, Mark Brown, linux-kernel

drivers/spi/spi-lantiq-ssc.c:973: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

CC: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 spi-lantiq-ssc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/spi/spi-lantiq-ssc.c
+++ b/drivers/spi/spi-lantiq-ssc.c
@@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc
 	.remove = lantiq_ssc_remove,
 	.driver = {
 		.name = "spi-lantiq-ssc",
-		.owner = THIS_MODULE,
 		.of_match_table = lantiq_ssc_match,
 	},
 };

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings
       [not found]   ` <20170219173310.GA64236-zqhkPGYYkloFTpe94t1N+dh3ngVCH38I@public.gmane.org>
@ 2017-02-19 22:58     ` Hauke Mehrtens
  2017-02-21 17:52     ` Applied "spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings" to the spi tree Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Hauke Mehrtens @ 2017-02-19 22:58 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all-JC7UmRfGjtg, linux-spi-u79uwXL29TY76Z2rM5mHXA,
	Mark Brown, linux-kernel-u79uwXL29TY76Z2rM5mHXA



On 02/19/2017 06:33 PM, kbuild test robot wrote:
> drivers/spi/spi-lantiq-ssc.c:973: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
> 
> CC: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
> Signed-off-by: Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Acked-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>

> ---
> 
>  spi-lantiq-ssc.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> --- a/drivers/spi/spi-lantiq-ssc.c
> +++ b/drivers/spi/spi-lantiq-ssc.c
> @@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc
>  	.remove = lantiq_ssc_remove,
>  	.driver = {
>  		.name = "spi-lantiq-ssc",
> -		.owner = THIS_MODULE,
>  		.of_match_table = lantiq_ssc_match,
>  	},
>  };
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" 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] 4+ messages in thread

* Applied "spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings" to the spi tree
       [not found]   ` <20170219173310.GA64236-zqhkPGYYkloFTpe94t1N+dh3ngVCH38I@public.gmane.org>
  2017-02-19 22:58     ` Hauke Mehrtens
@ 2017-02-21 17:52     ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2017-02-21 17:52 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Fengguang Wu, Hauke Mehrtens, Mark Brown, Hauke Mehrtens,
	kbuild-all-JC7UmRfGjtg, linux-spi-u79uwXL29TY76Z2rM5mHXA,
	Mark Brown, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

The patch

   spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings

has been applied to the spi tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From a5b0443c9bf42173f0847889d880a45de67e0f8f Mon Sep 17 00:00:00 2001
From: kbuild test robot <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Date: Mon, 20 Feb 2017 01:33:10 +0800
Subject: [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings

drivers/spi/spi-lantiq-ssc.c:973: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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Acked-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
 drivers/spi/spi-lantiq-ssc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-lantiq-ssc.c b/drivers/spi/spi-lantiq-ssc.c
index 8a626f7fccea..fe3986fa2f23 100644
--- a/drivers/spi/spi-lantiq-ssc.c
+++ b/drivers/spi/spi-lantiq-ssc.c
@@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc_driver = {
 	.remove = lantiq_ssc_remove,
 	.driver = {
 		.name = "spi-lantiq-ssc",
-		.owner = THIS_MODULE,
 		.of_match_table = lantiq_ssc_match,
 	},
 };
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" 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 related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-21 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-19 17:33 [spi:topic/lantiq-ssc 11/12] drivers/spi/spi-lantiq-ssc.c:973:3-8: No need to set .owner here. The core will do it kbuild test robot
2017-02-19 17:33 ` [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings kbuild test robot
     [not found]   ` <20170219173310.GA64236-zqhkPGYYkloFTpe94t1N+dh3ngVCH38I@public.gmane.org>
2017-02-19 22:58     ` Hauke Mehrtens
2017-02-21 17:52     ` Applied "spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings" to the spi tree Mark Brown

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).