From: kernel test robot <lkp@intel.com>
To: Atte Tommiska <atte.tommiska@xiphera.com>,
Matt Mackall <mpm@selenic.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Rob Herring <robh+dt@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, Atte Tommiska <atte.tommiska@xiphera.com>
Subject: [PATCH] hwrng: xiphera-trng: fix platform_no_drv_owner.cocci warnings
Date: Thu, 20 Aug 2020 23:03:19 +0800 [thread overview]
Message-ID: <20200820150319.GA61081@b50bd4e4e446> (raw)
In-Reply-To: <fdfe7889bf59f7b2b866ce25cd72ef323f508a3c.1597914503.git.atte.tommiska@xiphera.com>
From: kernel test robot <lkp@intel.com>
drivers/char/hw_random/xiphera-trng.c:141: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: Atte Tommiska <atte.tommiska@xiphera.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
url: https://github.com/0day-ci/linux/commits/Atte-Tommiska/hwrng-add-support-for-Xiphera-XIP8001B/20200820-190349
base: bc752d2f345bf55d71b3422a6a24890ea03168dc
xiphera-trng.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/char/hw_random/xiphera-trng.c
+++ b/drivers/char/hw_random/xiphera-trng.c
@@ -138,7 +138,6 @@ MODULE_DEVICE_TABLE(of, xiphera_trng_of_
static struct platform_driver xiphera_trng_driver = {
.driver = {
.name = "xiphera-trng",
- .owner = THIS_MODULE,
.of_match_table = xiphera_trng_of_match,
},
.probe = xiphera_trng_probe,
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] hwrng: xiphera-trng: fix platform_no_drv_owner.cocci warnings
Date: Thu, 20 Aug 2020 23:03:19 +0800 [thread overview]
Message-ID: <20200820150319.GA61081@b50bd4e4e446> (raw)
In-Reply-To: <fdfe7889bf59f7b2b866ce25cd72ef323f508a3c.1597914503.git.atte.tommiska@xiphera.com>
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
From: kernel test robot <lkp@intel.com>
drivers/char/hw_random/xiphera-trng.c:141: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: Atte Tommiska <atte.tommiska@xiphera.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
url: https://github.com/0day-ci/linux/commits/Atte-Tommiska/hwrng-add-support-for-Xiphera-XIP8001B/20200820-190349
base: bc752d2f345bf55d71b3422a6a24890ea03168dc
xiphera-trng.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/char/hw_random/xiphera-trng.c
+++ b/drivers/char/hw_random/xiphera-trng.c
@@ -138,7 +138,6 @@ MODULE_DEVICE_TABLE(of, xiphera_trng_of_
static struct platform_driver xiphera_trng_driver = {
.driver = {
.name = "xiphera-trng",
- .owner = THIS_MODULE,
.of_match_table = xiphera_trng_of_match,
},
.probe = xiphera_trng_probe,
next prev parent reply other threads:[~2020-08-20 15:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 10:51 [PATCH v2 0/3] hwrng: add support for Xiphera XIP8001B Atte Tommiska
2020-08-20 10:51 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Xiphera vendor prefix Atte Tommiska
2020-08-25 22:31 ` Rob Herring
2020-08-20 10:51 ` [PATCH v2 2/3] dt-bindings: rng: add bindings for Xiphera XIP8001B hwnrg Atte Tommiska
2020-08-25 22:31 ` Rob Herring
2020-08-20 10:51 ` [PATCH v2 3/3] hwrng: xiphera-trng: add support for XIP8001B hwrng Atte Tommiska
2020-08-20 15:03 ` kernel test robot
2020-08-20 15:03 ` kernel test robot
2020-08-20 15:03 ` kernel test robot [this message]
2020-08-20 15:03 ` [PATCH] hwrng: xiphera-trng: fix platform_no_drv_owner.cocci warnings kernel test robot
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=20200820150319.GA61081@b50bd4e4e446 \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=atte.tommiska@xiphera.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=kbuild-all@lists.01.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=robh+dt@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 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.