All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/mailbox/pcc.c:575:3-8: No need to set .owner here. The core will do it.
@ 2020-08-04  5:40 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-04  5:40 UTC (permalink / raw)
  To: Jason Yan; +Cc: kbuild-all, linux-kernel, Jassi Brar

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   09a0bd07764359650d41dbcb723f81321e523217
commit: 00d9990acb23c4319a1dc961d4e29a9213923b67 mailbox: pcc: make pcc_mbox_driver static
date:   9 weeks ago
config: x86_64-randconfig-c002-20200803 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/mailbox/pcc.c:575:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36652 bytes --]

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

* drivers/mailbox/pcc.c:575:3-8: No need to set .owner here. The core will do it.
@ 2020-08-04  5:40 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-04  5:40 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   09a0bd07764359650d41dbcb723f81321e523217
commit: 00d9990acb23c4319a1dc961d4e29a9213923b67 mailbox: pcc: make pcc_mbox_driver static
date:   9 weeks ago
config: x86_64-randconfig-c002-20200803 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/mailbox/pcc.c:575:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36652 bytes --]

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

* [PATCH] mailbox: pcc: fix platform_no_drv_owner.cocci warnings
  2020-08-04  5:40 ` kernel test robot
@ 2020-08-04  5:40   ` kernel test robot
  -1 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-04  5:40 UTC (permalink / raw)
  To: Jason Yan; +Cc: kbuild-all, linux-kernel, Jassi Brar

From: kernel test robot <lkp@intel.com>

drivers/mailbox/pcc.c:575: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: 00d9990acb23 ("mailbox: pcc: make pcc_mbox_driver static")
CC: Jason Yan <yanaijie@huawei.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   09a0bd07764359650d41dbcb723f81321e523217
commit: 00d9990acb23c4319a1dc961d4e29a9213923b67 mailbox: pcc: make pcc_mbox_driver static

 pcc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -572,7 +572,6 @@ static struct platform_driver pcc_mbox_d
 	.probe = pcc_mbox_probe,
 	.driver = {
 		.name = "PCCT",
-		.owner = THIS_MODULE,
 	},
 };
 

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

* [PATCH] mailbox: pcc: fix platform_no_drv_owner.cocci warnings
@ 2020-08-04  5:40   ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-04  5:40 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

From: kernel test robot <lkp@intel.com>

drivers/mailbox/pcc.c:575: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: 00d9990acb23 ("mailbox: pcc: make pcc_mbox_driver static")
CC: Jason Yan <yanaijie@huawei.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   09a0bd07764359650d41dbcb723f81321e523217
commit: 00d9990acb23c4319a1dc961d4e29a9213923b67 mailbox: pcc: make pcc_mbox_driver static

 pcc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -572,7 +572,6 @@ static struct platform_driver pcc_mbox_d
 	.probe = pcc_mbox_probe,
 	.driver = {
 		.name = "PCCT",
-		.owner = THIS_MODULE,
 	},
 };
 

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

end of thread, other threads:[~2020-08-04  5:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04  5:40 drivers/mailbox/pcc.c:575:3-8: No need to set .owner here. The core will do it kernel test robot
2020-08-04  5:40 ` kernel test robot
2020-08-04  5:40 ` [PATCH] mailbox: pcc: fix platform_no_drv_owner.cocci warnings kernel test robot
2020-08-04  5:40   ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.