From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imr3.ericy.com (imr3.ericy.com [198.24.6.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 09A64B6F0E for ; Thu, 29 Jul 2010 15:41:44 +1000 (EST) From: Guenter Roeck To: "James E.J. Bottomley" , Richard Purdie , Greg Kroah-Hartman , Benjamin Herrenschmidt , Paul Mackerras Subject: [PATCH 0/6] Remove owner field from sysfs attribute structure Date: Wed, 28 Jul 2010 22:09:20 -0700 Message-ID: <1280380166-29196-1-git-send-email-guenter.roeck@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain Cc: Guenter Roeck , Nick Cheng , Linus Walleij , James Smart , linuxppc-dev@ozlabs.org, "Eric W. Biederman" , Dmitry Torokhov , Mark Brown , linux-kernel@vger.kernel.org, Chris Wright , Tejun Heo , Alex Iannicelli , Jani Nikula , Jean Delvare , Benjamin Thery , linux-scsi@vger.kernel.org, Liam Girdwood List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The following comment is found in include/linux/sysfs.h: /* FIXME * The *owner field is no longer used. * x86 tree has been cleaned up. The owner * attribute is still left for other arches. */ As it turns out, the *owner field is (again?) initialized in several modules, suggesting that such initialization may be creeping back into the code. This patch set removes the above comment, the *owner field, and each instance in the code where it was found to be initialized. Compiled with x86 allmodconfig as well as with all alpha, arm, mips, powerpc, and sparc defconfig builds.