diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_transport_sas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index e57b02e8afa5..bfbcf5fa72b9 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c | |||
@@ -1446,10 +1446,10 @@ static int sas_user_scan(struct Scsi_Host *shost, uint channel, | |||
1446 | SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func) | 1446 | SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func) |
1447 | 1447 | ||
1448 | #define SETUP_PHY_ATTRIBUTE_WRONLY(field) \ | 1448 | #define SETUP_PHY_ATTRIBUTE_WRONLY(field) \ |
1449 | SETUP_TEMPLATE(phy_attrs, field, S_IWUGO, 1) | 1449 | SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, 1) |
1450 | 1450 | ||
1451 | #define SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(field, func) \ | 1451 | #define SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(field, func) \ |
1452 | SETUP_TEMPLATE(phy_attrs, field, S_IWUGO, i->f->func) | 1452 | SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func) |
1453 | 1453 | ||
1454 | #define SETUP_END_DEV_ATTRIBUTE(field) \ | 1454 | #define SETUP_END_DEV_ATTRIBUTE(field) \ |
1455 | SETUP_TEMPLATE(end_dev_attrs, field, S_IRUGO, 1) | 1455 | SETUP_TEMPLATE(end_dev_attrs, field, S_IRUGO, 1) |