From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI Hotplug fixes for 2.6.4-rc1
Date: Tue, 2 Mar 2004 20:21:46 -0800 [thread overview]
Message-ID: <10782877062961@kroah.com> (raw)
In-Reply-To: <1078287705197@kroah.com>
ChangeSet 1.1623, 2004/03/02 13:11:26-08:00, greg@kroah.com
PCI Hotplug: fix up the permission settings on a few of the sysfs files.
Thanks to Linda Xie for pointing this out.
drivers/pci/hotplug/pci_hotplug_core.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -Nru a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
--- a/drivers/pci/hotplug/pci_hotplug_core.c Tue Mar 2 19:42:22 2004
+++ b/drivers/pci/hotplug/pci_hotplug_core.c Tue Mar 2 19:42:22 2004
@@ -292,7 +292,7 @@
}
static struct hotplug_slot_attribute hotplug_slot_attr_latch = {
- .attr = {.name = "latch", .mode = S_IFREG | S_IRUGO | S_IWUSR},
+ .attr = {.name = "latch", .mode = S_IFREG | S_IRUGO},
.show = latch_read_file,
};
@@ -311,7 +311,7 @@
}
static struct hotplug_slot_attribute hotplug_slot_attr_presence = {
- .attr = {.name = "adapter", .mode = S_IFREG | S_IRUGO | S_IWUSR},
+ .attr = {.name = "adapter", .mode = S_IFREG | S_IRUGO},
.show = presence_read_file,
};
@@ -361,7 +361,7 @@
}
static struct hotplug_slot_attribute hotplug_slot_attr_max_bus_speed = {
- .attr = {.name = "max_bus_speed", .mode = S_IFREG | S_IRUGO | S_IWUSR},
+ .attr = {.name = "max_bus_speed", .mode = S_IFREG | S_IRUGO},
.show = max_bus_speed_read_file,
};
@@ -387,7 +387,7 @@
}
static struct hotplug_slot_attribute hotplug_slot_attr_cur_bus_speed = {
- .attr = {.name = "cur_bus_speed", .mode = S_IFREG | S_IRUGO | S_IWUSR},
+ .attr = {.name = "cur_bus_speed", .mode = S_IFREG | S_IRUGO},
.show = cur_bus_speed_read_file,
};
next prev parent reply other threads:[~2004-03-03 4:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 4:20 [BK PATCH] PCI Hotplug fixes for 2.6.4-rc1 Greg KH
2004-03-03 4:21 ` [PATCH] " Greg KH
2004-03-03 4:21 ` Greg KH
2004-03-03 4:21 ` Greg KH [this message]
2004-03-03 4:21 ` Greg KH
2004-03-03 4:21 ` Greg KH
2004-03-04 6:17 ` Ingo Oeser
2004-03-04 18:27 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10782877062961@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox