aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/arcmsr/arcmsr_attr.c3
-rw-r--r--drivers/scsi/libsas/sas_expander.c1
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c2
-rw-r--r--drivers/scsi/qla2xxx/qla_attr.c6
4 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_attr.c b/drivers/scsi/arcmsr/arcmsr_attr.c
index 03bfed61bffc..8908228bc134 100644
--- a/drivers/scsi/arcmsr/arcmsr_attr.c
+++ b/drivers/scsi/arcmsr/arcmsr_attr.c
@@ -188,7 +188,6 @@ static struct bin_attribute arcmsr_sysfs_message_read_attr = {
188 .attr = { 188 .attr = {
189 .name = "mu_read", 189 .name = "mu_read",
190 .mode = S_IRUSR , 190 .mode = S_IRUSR ,
191 .owner = THIS_MODULE,
192 }, 191 },
193 .size = 1032, 192 .size = 1032,
194 .read = arcmsr_sysfs_iop_message_read, 193 .read = arcmsr_sysfs_iop_message_read,
@@ -198,7 +197,6 @@ static struct bin_attribute arcmsr_sysfs_message_write_attr = {
198 .attr = { 197 .attr = {
199 .name = "mu_write", 198 .name = "mu_write",
200 .mode = S_IWUSR, 199 .mode = S_IWUSR,
201 .owner = THIS_MODULE,
202 }, 200 },
203 .size = 1032, 201 .size = 1032,
204 .write = arcmsr_sysfs_iop_message_write, 202 .write = arcmsr_sysfs_iop_message_write,
@@ -208,7 +206,6 @@ static struct bin_attribute arcmsr_sysfs_message_clear_attr = {
208 .attr = { 206 .attr = {
209 .name = "mu_clear", 207 .name = "mu_clear",
210 .mode = S_IWUSR, 208 .mode = S_IWUSR,
211 .owner = THIS_MODULE,
212 }, 209 },
213 .size = 1, 210 .size = 1,
214 .write = arcmsr_sysfs_iop_message_clear, 211 .write = arcmsr_sysfs_iop_message_clear,
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index e34442e405e8..578ed79f4148 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -1368,7 +1368,6 @@ static void sas_ex_smp_hook(struct domain_device *dev)
1368 memset(bin_attr, 0, sizeof(*bin_attr)); 1368 memset(bin_attr, 0, sizeof(*bin_attr));
1369 1369
1370 bin_attr->attr.name = SMP_BIN_ATTR_NAME; 1370 bin_attr->attr.name = SMP_BIN_ATTR_NAME;
1371 bin_attr->attr.owner = THIS_MODULE;
1372 bin_attr->attr.mode = 0600; 1371 bin_attr->attr.mode = 0600;
1373 1372
1374 bin_attr->size = 0; 1373 bin_attr->size = 0;
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 95fe77e816f8..f81fe501a4a1 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -1200,7 +1200,6 @@ static struct bin_attribute sysfs_ctlreg_attr = {
1200 .attr = { 1200 .attr = {
1201 .name = "ctlreg", 1201 .name = "ctlreg",
1202 .mode = S_IRUSR | S_IWUSR, 1202 .mode = S_IRUSR | S_IWUSR,
1203 .owner = THIS_MODULE,
1204 }, 1203 },
1205 .size = 256, 1204 .size = 256,
1206 .read = sysfs_ctlreg_read, 1205 .read = sysfs_ctlreg_read,
@@ -1422,7 +1421,6 @@ static struct bin_attribute sysfs_mbox_attr = {
1422 .attr = { 1421 .attr = {
1423 .name = "mbox", 1422 .name = "mbox",
1424 .mode = S_IRUSR | S_IWUSR, 1423 .mode = S_IRUSR | S_IWUSR,
1425 .owner = THIS_MODULE,
1426 }, 1424 },
1427 .size = MAILBOX_CMD_SIZE, 1425 .size = MAILBOX_CMD_SIZE,
1428 .read = sysfs_mbox_read, 1426 .read = sysfs_mbox_read,
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index 8081b637d97e..96587253bfa9 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -73,7 +73,6 @@ static struct bin_attribute sysfs_fw_dump_attr = {
73 .attr = { 73 .attr = {
74 .name = "fw_dump", 74 .name = "fw_dump",
75 .mode = S_IRUSR | S_IWUSR, 75 .mode = S_IRUSR | S_IWUSR,
76 .owner = THIS_MODULE,
77 }, 76 },
78 .size = 0, 77 .size = 0,
79 .read = qla2x00_sysfs_read_fw_dump, 78 .read = qla2x00_sysfs_read_fw_dump,
@@ -149,7 +148,6 @@ static struct bin_attribute sysfs_nvram_attr = {
149 .attr = { 148 .attr = {
150 .name = "nvram", 149 .name = "nvram",
151 .mode = S_IRUSR | S_IWUSR, 150 .mode = S_IRUSR | S_IWUSR,
152 .owner = THIS_MODULE,
153 }, 151 },
154 .size = 512, 152 .size = 512,
155 .read = qla2x00_sysfs_read_nvram, 153 .read = qla2x00_sysfs_read_nvram,
@@ -198,7 +196,6 @@ static struct bin_attribute sysfs_optrom_attr = {
198 .attr = { 196 .attr = {
199 .name = "optrom", 197 .name = "optrom",
200 .mode = S_IRUSR | S_IWUSR, 198 .mode = S_IRUSR | S_IWUSR,
201 .owner = THIS_MODULE,
202 }, 199 },
203 .size = OPTROM_SIZE_24XX, 200 .size = OPTROM_SIZE_24XX,
204 .read = qla2x00_sysfs_read_optrom, 201 .read = qla2x00_sysfs_read_optrom,
@@ -279,7 +276,6 @@ static struct bin_attribute sysfs_optrom_ctl_attr = {
279 .attr = { 276 .attr = {
280 .name = "optrom_ctl", 277 .name = "optrom_ctl",
281 .mode = S_IWUSR, 278 .mode = S_IWUSR,
282 .owner = THIS_MODULE,
283 }, 279 },
284 .size = 0, 280 .size = 0,
285 .write = qla2x00_sysfs_write_optrom_ctl, 281 .write = qla2x00_sysfs_write_optrom_ctl,
@@ -327,7 +323,6 @@ static struct bin_attribute sysfs_vpd_attr = {
327 .attr = { 323 .attr = {
328 .name = "vpd", 324 .name = "vpd",
329 .mode = S_IRUSR | S_IWUSR, 325 .mode = S_IRUSR | S_IWUSR,
330 .owner = THIS_MODULE,
331 }, 326 },
332 .size = 0, 327 .size = 0,
333 .read = qla2x00_sysfs_read_vpd, 328 .read = qla2x00_sysfs_read_vpd,
@@ -375,7 +370,6 @@ static struct bin_attribute sysfs_sfp_attr = {
375 .attr = { 370 .attr = {
376 .name = "sfp", 371 .name = "sfp",
377 .mode = S_IRUSR | S_IWUSR, 372 .mode = S_IRUSR | S_IWUSR,
378 .owner = THIS_MODULE,
379 }, 373 },
380 .size = SFP_DEV_SIZE * 2, 374 .size = SFP_DEV_SIZE * 2,
381 .read = qla2x00_sysfs_read_sfp, 375 .read = qla2x00_sysfs_read_sfp,