Messages in this thread Patch in this message | | | Date | Tue, 10 Apr 2007 16:30:09 +0200 | From | Cornelia Huck <> | Subject | Re: [PATCH 14/14] sysfs: kill unnecessary attribute->owner |
| |
On Tue, 10 Apr 2007 16:17:06 +0200, Cornelia Huck <cornelia.huck@de.ibm.com> wrote:
> You missed some s390 attributes :)
Oops, wrong tree, sorry.
--- arch/s390/kernel/ipl.c | 2 -- drivers/s390/cio/chsc.c | 2 -- drivers/s390/net/qeth_sys.c | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-)
--- linux.orig/arch/s390/kernel/ipl.c +++ linux/arch/s390/kernel/ipl.c @@ -255,7 +255,6 @@ static struct bin_attribute ipl_paramete .attr = { .name = "binary_parameter", .mode = S_IRUGO, - .owner = THIS_MODULE, }, .size = PAGE_SIZE, .read = &ipl_parameter_read, @@ -279,7 +278,6 @@ static struct bin_attribute ipl_scp_data .attr = { .name = "scp_data", .mode = S_IRUGO, - .owner = THIS_MODULE, }, .size = PAGE_SIZE, .read = &ipl_scp_data_read, --- linux.orig/drivers/s390/net/qeth_sys.c +++ linux/drivers/s390/net/qeth_sys.c @@ -993,7 +993,7 @@ static struct attribute_group qeth_osn_d #define QETH_DEVICE_ATTR(_id,_name,_mode,_show,_store) \ struct device_attribute dev_attr_##_id = { \ - .attr = {.name=__stringify(_name), .mode=_mode, .owner=THIS_MODULE },\ + .attr = {.name=__stringify(_name), .mode=_mode, },\ .show = _show, \ .store = _store, \ }; --- linux.orig/drivers/s390/cio/chsc.c +++ linux/drivers/s390/cio/chsc.c @@ -898,7 +898,6 @@ static struct bin_attribute chp_measurem .attr = { .name = "measurement_chars", .mode = S_IRUSR, - .owner = THIS_MODULE, }, .size = sizeof(struct cmg_chars), .read = chp_measurement_chars_read, @@ -950,7 +949,6 @@ static struct bin_attribute chp_measurem .attr = { .name = "measurement", .mode = S_IRUSR, - .owner = THIS_MODULE, }, .size = sizeof(struct cmg_entry), .read = chp_measurement_read, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |