[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190623185044.GA94834@lkp-kbuild21>
Date: Mon, 24 Jun 2019 02:50:44 +0800
From: kbuild test robot <lkp@...el.com>
To: Asmaa Mnebhi <Asmaa@...lanox.com>
Cc: kbuild-all@...org, Corey Minyard <cminyard@...sta.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
openipmi-developer@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: [PATCH] fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <lkp@...el.com>
drivers/char/ipmi/ipmb_dev_int.c:352: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: 51bd6f291583 ("Add support for IPMB driver")
CC: Asmaa Mnebhi <Asmaa@...lanox.com>
Signed-off-by: kbuild test robot <lkp@...el.com>
---
tree: https://github.com/cminyard/linux-ipmi for-next
head: 21feadd024e747123bc0aaba8d8cbef2b5eda058
commit: 51bd6f291583684f495ea498984dfc22049d7fd2 [5/7] Add support for IPMB driver
ipmb_dev_int.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/char/ipmi/ipmb_dev_int.c
+++ b/drivers/char/ipmi/ipmb_dev_int.c
@@ -349,7 +349,6 @@ MODULE_DEVICE_TABLE(acpi, acpi_ipmb_id);
static struct i2c_driver ipmb_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "ipmb-dev",
.acpi_match_table = ACPI_PTR(acpi_ipmb_id),
},
Powered by blists - more mailing lists