* [alsa-devel] [asoc:for-5.5 32/32] sound/soc/codecs/tas2770.c:796:3-8: No need to set .owner here. The core will do it.
@ 2019-10-01 17:55 kbuild test robot
2019-10-01 17:55 ` [alsa-devel] [PATCH] tas2770: fix platform_no_drv_owner.cocci warnings kbuild test robot
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2019-10-01 17:55 UTC (permalink / raw)
To: Frank Shi; +Cc: alsa-devel, Mark Brown, kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5
head: 1a476abc723e644248dba975b71122fcf878703b
commit: 1a476abc723e644248dba975b71122fcf878703b [32/32] tas2770: add tas2770 smart PA kernel driver
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
coccinelle warnings: (new ones prefixed by >>)
>> sound/soc/codecs/tas2770.c:796: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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread* [alsa-devel] [PATCH] tas2770: fix platform_no_drv_owner.cocci warnings 2019-10-01 17:55 [alsa-devel] [asoc:for-5.5 32/32] sound/soc/codecs/tas2770.c:796:3-8: No need to set .owner here. The core will do it kbuild test robot @ 2019-10-01 17:55 ` kbuild test robot 2019-10-04 17:52 ` [alsa-devel] Applied "tas2770: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown 0 siblings, 1 reply; 3+ messages in thread From: kbuild test robot @ 2019-10-01 17:55 UTC (permalink / raw) To: Frank Shi Cc: alsa-devel, Liam Girdwood, linux-kernel, Takashi Iwai, Mark Brown, kbuild-all From: kbuild test robot <lkp@intel.com> sound/soc/codecs/tas2770.c:796: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: 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver") CC: Frank Shi <shifu0704@thundersoft.com> Signed-off-by: kbuild test robot <lkp@intel.com> --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 head: 1a476abc723e644248dba975b71122fcf878703b commit: 1a476abc723e644248dba975b71122fcf878703b [32/32] tas2770: add tas2770 smart PA kernel driver tas2770.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/tas2770.c +++ b/sound/soc/codecs/tas2770.c @@ -793,7 +793,6 @@ MODULE_DEVICE_TABLE(of, tas2770_of_match static struct i2c_driver tas2770_i2c_driver = { .driver = { .name = "tas2770", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(tas2770_of_match), }, .probe = tas2770_i2c_probe, _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* [alsa-devel] Applied "tas2770: fix platform_no_drv_owner.cocci warnings" to the asoc tree 2019-10-01 17:55 ` [alsa-devel] [PATCH] tas2770: fix platform_no_drv_owner.cocci warnings kbuild test robot @ 2019-10-04 17:52 ` Mark Brown 0 siblings, 0 replies; 3+ messages in thread From: Mark Brown @ 2019-10-04 17:52 UTC (permalink / raw) To: kbuild test robot Cc: alsa-devel, Takashi Iwai, Liam Girdwood, linux-kernel, Mark Brown, Frank Shi, kbuild-all The patch tas2770: fix platform_no_drv_owner.cocci warnings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 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 5a7423993007d08bfc7b982451eca0526f51744d Mon Sep 17 00:00:00 2001 From: kbuild test robot <lkp@intel.com> Date: Wed, 2 Oct 2019 01:55:04 +0800 Subject: [PATCH] tas2770: fix platform_no_drv_owner.cocci warnings sound/soc/codecs/tas2770.c:796: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: 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver") CC: Frank Shi <shifu0704@thundersoft.com> Signed-off-by: kbuild test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20191001175504.ufhyxh66psrht42k@332d0cec05f4 Signed-off-by: Mark Brown <broonie@kernel.org> --- sound/soc/codecs/tas2770.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/tas2770.c b/sound/soc/codecs/tas2770.c index 9da88ccb1d51..dbbb21fe0548 100644 --- a/sound/soc/codecs/tas2770.c +++ b/sound/soc/codecs/tas2770.c @@ -793,7 +793,6 @@ MODULE_DEVICE_TABLE(of, tas2770_of_match); static struct i2c_driver tas2770_i2c_driver = { .driver = { .name = "tas2770", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(tas2770_of_match), }, .probe = tas2770_i2c_probe, -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-04 18:02 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-10-01 17:55 [alsa-devel] [asoc:for-5.5 32/32] sound/soc/codecs/tas2770.c:796:3-8: No need to set .owner here. The core will do it kbuild test robot 2019-10-01 17:55 ` [alsa-devel] [PATCH] tas2770: fix platform_no_drv_owner.cocci warnings kbuild test robot 2019-10-04 17:52 ` [alsa-devel] Applied "tas2770: fix platform_no_drv_owner.cocci warnings" to the asoc 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