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: <20170801163420.GA56853@lkp-nex06.lkp.intel.com>
Date:   Wed, 2 Aug 2017 00:34:20 +0800
From:   kbuild test robot <lkp@...el.com>
To:     s.abhisit@...il.com
Cc:     kbuild-all@...org, lee.jones@...aro.org,
        linux-kernel@...r.kernel.org, Abhisit Sangjan <s.abhisit@...il.com>
Subject: [PATCH] mfd: fix platform_no_drv_owner.cocci warnings

drivers/mfd/lmp92001-i2c.c:192:25-30: 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: 586a684127af ("mfd: Add support for TI LMP92001 driver")
CC: Abhisit Sangjan <s.abhisit@...il.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

 lmp92001-i2c.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/mfd/lmp92001-i2c.c
+++ b/drivers/mfd/lmp92001-i2c.c
@@ -189,7 +189,6 @@ static int lmp92001_i2c_detect(struct i2
 
 static struct i2c_driver lmp92001_i2c_driver = {
         .driver = {
-                        .owner = THIS_MODULE,
                         .name = "lmp92001",
                         .of_match_table = of_match_ptr(lmp92001_dt_ids),
         },

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ