Message ID | 20160802115010.5044-1-baolex.ni@intel.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index c8b4dbd..3f583ad 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4897,7 +4897,7 @@ static ssize_t pci_resource_alignment_store(struct bus_type *bus, return pci_set_resource_alignment_param(buf, count); } -BUS_ATTR(resource_alignment, 0644, pci_resource_alignment_show, +BUS_ATTR(resource_alignment, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, pci_resource_alignment_show, pci_resource_alignment_store); static int __init pci_resource_alignment_sysfs_init(void)