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]
Date:	Wed, 28 Jul 2010 22:09:24 -0700
From:	Guenter Roeck <guenter.roeck@...csson.com>
To:	"James E.J. Bottomley" <James.Bottomley@...e.de>,
	Richard Purdie <rpurdie@...ys.net>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Paul Mackerras <paulus@...ba.org>
CC:	Jean Delvare <khali@...ux-fr.org>, Dmitry Torokhov <dtor@...l.ru>,
	Liam Girdwood <lrg@...mlogic.co.uk>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	Jani Nikula <ext-jani.1.nikula@...ia.com>,
	Linus Walleij <linus.walleij@...ricsson.com>,
	Chris Wright <chrisw@...s-sol.org>,
	Nick Cheng <nick.cheng@...ca.com.tw>,
	James Smart <james.smart@...lex.com>,
	Alex Iannicelli <alex.iannicelli@...lex.com>,
	"Eric W. Biederman" <ebiederm@...stanetworks.com>,
	Benjamin Thery <benjamin.thery@...l.net>,
	Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org,
	linux-scsi@...r.kernel.org, linuxppc-dev@...abs.org,
	Guenter Roeck <guenter.roeck@...csson.com>
Subject: [PATCH 4/6] regulator: Remove owner field from attribute initialization in regulator core driver

Signed-off-by: Guenter Roeck <guenter.roeck@...csson.com>
---
 drivers/regulator/core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 2248087..422a709 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1025,7 +1025,6 @@ static struct regulator *create_regulator(struct regulator_dev *rdev,
 		if (regulator->dev_attr.attr.name == NULL)
 			goto attr_name_err;
 
-		regulator->dev_attr.attr.owner = THIS_MODULE;
 		regulator->dev_attr.attr.mode = 0444;
 		regulator->dev_attr.show = device_requested_uA_show;
 		err = device_create_file(dev, &regulator->dev_attr);
-- 
1.7.0.87.g0901d

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ