From: kernel test robot <lkp@intel.com>
To: Emil Renner Berthing <kernel@esmil.dk>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [PATCH] nvdla: fix platform_no_drv_owner.cocci warnings
Date: Wed, 19 Jan 2022 14:00:57 +0800 [thread overview]
Message-ID: <20220119060057.GA1143@7f39e361da8f> (raw)
In-Reply-To: <202201191448.hkrxXxgW-lkp@intel.com>
From: kernel test robot <lkp@intel.com>
drivers/nvdla/nvdla_core_callbacks.c:437: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
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://github.com/esmil/linux visionfive
head: e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 72b025fa3bbfeb4e6df66d1753182be5d8ac2374 [73/80] nvdla: Support compilation as module
:::::: branch date: 6 hours ago
:::::: commit date: 9 days ago
nvdla_core_callbacks.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/nvdla/nvdla_core_callbacks.c
+++ b/drivers/nvdla/nvdla_core_callbacks.c
@@ -434,7 +434,6 @@ static struct platform_driver nvdla_driv
.probe = nvdla_probe,
.remove = __exit_p(nvdla_remove),
.driver = {
- .owner = THIS_MODULE,
.name = "NVDLA",
.of_match_table = of_match_ptr(nvdla_of_match),
},
prev parent reply other threads:[~2022-01-19 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 6:07 [esmil:visionfive 73/80] drivers/nvdla/nvdla_core_callbacks.c:437:3-8: No need to set .owner here. The core will do it kernel test robot
2022-01-19 6:00 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220119060057.GA1143@7f39e361da8f \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kernel@esmil.dk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox