lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200820150319.GA61081@b50bd4e4e446>
Date:   Thu, 20 Aug 2020 23:03:19 +0800
From:   kernel test robot <lkp@...el.com>
To:     Atte Tommiska <atte.tommiska@...hera.com>,
        Matt Mackall <mpm@...enic.com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Rob Herring <robh+dt@...nel.org>,
        Arnd Bergmann <arnd@...db.de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-crypto@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, Atte Tommiska <atte.tommiska@...hera.com>
Subject: [PATCH] hwrng: xiphera-trng: fix platform_no_drv_owner.cocci warnings

From: kernel test robot <lkp@...el.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@...hera.com>
Signed-off-by: kernel test robot <lkp@...el.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,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ