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] [day] [month] [year] [list]
Message-ID: <20181128040213.GA30252@lkp-ne04>
Date:   Wed, 28 Nov 2018 12:02:13 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Andrei.Stefanescu@...rochip.com
Cc:     kbuild-all@...org, lgirdwood@...il.com, robh+dt@...nel.org,
        mark.rutland@....com, gregkh@...uxfoundation.org,
        Nicolas.Ferre@...rochip.com, Cristian.Birsan@...rochip.com,
        Claudiu.Beznea@...rochip.com, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        Andrei.Stefanescu@...rochip.com
Subject: [PATCH] regulator: mcp16502: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot <fengguang.wu@...el.com>

drivers/regulator/mcp16502.c:530: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: 9199c277faeb ("regulator: mcp16502: add regulator driver for MCP16502")
CC: Andrei.Stefanescu@...rochip.com <Andrei.Stefanescu@...rochip.com>
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---

url:    https://github.com/0day-ci/linux/commits/Andrei-Stefanescu-microchip-com/add-support-for-MCP16502-PMIC/20181128-041809
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

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

--- a/drivers/regulator/mcp16502.c
+++ b/drivers/regulator/mcp16502.c
@@ -527,7 +527,6 @@ static struct i2c_driver mcp16502_drv =
 	.probe		= mcp16502_probe,
 	.driver		= {
 		.name	= "mcp16502-regulator",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(mcp16502_ids),
 		.pm = &mcp16502_pm_ops,
 	},

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ