diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 3b708606b932..1e4cafabba15 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -16,7 +16,7 @@ static int qla24xx_vport_disable(struct fc_vport *, bool); | |||
16 | /* SYSFS attributes --------------------------------------------------------- */ | 16 | /* SYSFS attributes --------------------------------------------------------- */ |
17 | 17 | ||
18 | static ssize_t | 18 | static ssize_t |
19 | qla2x00_sysfs_read_fw_dump(struct kobject *kobj, | 19 | qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, |
20 | struct bin_attribute *bin_attr, | 20 | struct bin_attribute *bin_attr, |
21 | char *buf, loff_t off, size_t count) | 21 | char *buf, loff_t off, size_t count) |
22 | { | 22 | { |
@@ -32,7 +32,7 @@ qla2x00_sysfs_read_fw_dump(struct kobject *kobj, | |||
32 | } | 32 | } |
33 | 33 | ||
34 | static ssize_t | 34 | static ssize_t |
35 | qla2x00_sysfs_write_fw_dump(struct kobject *kobj, | 35 | qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, |
36 | struct bin_attribute *bin_attr, | 36 | struct bin_attribute *bin_attr, |
37 | char *buf, loff_t off, size_t count) | 37 | char *buf, loff_t off, size_t count) |
38 | { | 38 | { |
@@ -92,7 +92,7 @@ static struct bin_attribute sysfs_fw_dump_attr = { | |||
92 | }; | 92 | }; |
93 | 93 | ||
94 | static ssize_t | 94 | static ssize_t |
95 | qla2x00_sysfs_read_nvram(struct kobject *kobj, | 95 | qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, |
96 | struct bin_attribute *bin_attr, | 96 | struct bin_attribute *bin_attr, |
97 | char *buf, loff_t off, size_t count) | 97 | char *buf, loff_t off, size_t count) |
98 | { | 98 | { |
@@ -111,7 +111,7 @@ qla2x00_sysfs_read_nvram(struct kobject *kobj, | |||
111 | } | 111 | } |
112 | 112 | ||
113 | static ssize_t | 113 | static ssize_t |
114 | qla2x00_sysfs_write_nvram(struct kobject *kobj, | 114 | qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, |
115 | struct bin_attribute *bin_attr, | 115 | struct bin_attribute *bin_attr, |
116 | char *buf, loff_t off, size_t count) | 116 | char *buf, loff_t off, size_t count) |
117 | { | 117 | { |
@@ -177,7 +177,7 @@ static struct bin_attribute sysfs_nvram_attr = { | |||
177 | }; | 177 | }; |
178 | 178 | ||
179 | static ssize_t | 179 | static ssize_t |
180 | qla2x00_sysfs_read_optrom(struct kobject *kobj, | 180 | qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, |
181 | struct bin_attribute *bin_attr, | 181 | struct bin_attribute *bin_attr, |
182 | char *buf, loff_t off, size_t count) | 182 | char *buf, loff_t off, size_t count) |
183 | { | 183 | { |
@@ -193,7 +193,7 @@ qla2x00_sysfs_read_optrom(struct kobject *kobj, | |||
193 | } | 193 | } |
194 | 194 | ||
195 | static ssize_t | 195 | static ssize_t |
196 | qla2x00_sysfs_write_optrom(struct kobject *kobj, | 196 | qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, |
197 | struct bin_attribute *bin_attr, | 197 | struct bin_attribute *bin_attr, |
198 | char *buf, loff_t off, size_t count) | 198 | char *buf, loff_t off, size_t count) |
199 | { | 199 | { |
@@ -224,7 +224,7 @@ static struct bin_attribute sysfs_optrom_attr = { | |||
224 | }; | 224 | }; |
225 | 225 | ||
226 | static ssize_t | 226 | static ssize_t |
227 | qla2x00_sysfs_write_optrom_ctl(struct kobject *kobj, | 227 | qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, |
228 | struct bin_attribute *bin_attr, | 228 | struct bin_attribute *bin_attr, |
229 | char *buf, loff_t off, size_t count) | 229 | char *buf, loff_t off, size_t count) |
230 | { | 230 | { |
@@ -387,7 +387,7 @@ static struct bin_attribute sysfs_optrom_ctl_attr = { | |||
387 | }; | 387 | }; |
388 | 388 | ||
389 | static ssize_t | 389 | static ssize_t |
390 | qla2x00_sysfs_read_vpd(struct kobject *kobj, | 390 | qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, |
391 | struct bin_attribute *bin_attr, | 391 | struct bin_attribute *bin_attr, |
392 | char *buf, loff_t off, size_t count) | 392 | char *buf, loff_t off, size_t count) |
393 | { | 393 | { |
@@ -408,7 +408,7 @@ qla2x00_sysfs_read_vpd(struct kobject *kobj, | |||
408 | } | 408 | } |
409 | 409 | ||
410 | static ssize_t | 410 | static ssize_t |
411 | qla2x00_sysfs_write_vpd(struct kobject *kobj, | 411 | qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj, |
412 | struct bin_attribute *bin_attr, | 412 | struct bin_attribute *bin_attr, |
413 | char *buf, loff_t off, size_t count) | 413 | char *buf, loff_t off, size_t count) |
414 | { | 414 | { |
@@ -461,7 +461,7 @@ static struct bin_attribute sysfs_vpd_attr = { | |||
461 | }; | 461 | }; |
462 | 462 | ||
463 | static ssize_t | 463 | static ssize_t |
464 | qla2x00_sysfs_read_sfp(struct kobject *kobj, | 464 | qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj, |
465 | struct bin_attribute *bin_attr, | 465 | struct bin_attribute *bin_attr, |
466 | char *buf, loff_t off, size_t count) | 466 | char *buf, loff_t off, size_t count) |
467 | { | 467 | { |
@@ -522,7 +522,7 @@ static struct bin_attribute sysfs_sfp_attr = { | |||
522 | }; | 522 | }; |
523 | 523 | ||
524 | static ssize_t | 524 | static ssize_t |
525 | qla2x00_sysfs_write_reset(struct kobject *kobj, | 525 | qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj, |
526 | struct bin_attribute *bin_attr, | 526 | struct bin_attribute *bin_attr, |
527 | char *buf, loff_t off, size_t count) | 527 | char *buf, loff_t off, size_t count) |
528 | { | 528 | { |
@@ -592,7 +592,7 @@ static struct bin_attribute sysfs_reset_attr = { | |||
592 | }; | 592 | }; |
593 | 593 | ||
594 | static ssize_t | 594 | static ssize_t |
595 | qla2x00_sysfs_write_edc(struct kobject *kobj, | 595 | qla2x00_sysfs_write_edc(struct file *filp, struct kobject *kobj, |
596 | struct bin_attribute *bin_attr, | 596 | struct bin_attribute *bin_attr, |
597 | char *buf, loff_t off, size_t count) | 597 | char *buf, loff_t off, size_t count) |
598 | { | 598 | { |
@@ -650,7 +650,7 @@ static struct bin_attribute sysfs_edc_attr = { | |||
650 | }; | 650 | }; |
651 | 651 | ||
652 | static ssize_t | 652 | static ssize_t |
653 | qla2x00_sysfs_write_edc_status(struct kobject *kobj, | 653 | qla2x00_sysfs_write_edc_status(struct file *filp, struct kobject *kobj, |
654 | struct bin_attribute *bin_attr, | 654 | struct bin_attribute *bin_attr, |
655 | char *buf, loff_t off, size_t count) | 655 | char *buf, loff_t off, size_t count) |
656 | { | 656 | { |
@@ -700,7 +700,7 @@ qla2x00_sysfs_write_edc_status(struct kobject *kobj, | |||
700 | } | 700 | } |
701 | 701 | ||
702 | static ssize_t | 702 | static ssize_t |
703 | qla2x00_sysfs_read_edc_status(struct kobject *kobj, | 703 | qla2x00_sysfs_read_edc_status(struct file *filp, struct kobject *kobj, |
704 | struct bin_attribute *bin_attr, | 704 | struct bin_attribute *bin_attr, |
705 | char *buf, loff_t off, size_t count) | 705 | char *buf, loff_t off, size_t count) |
706 | { | 706 | { |
@@ -730,7 +730,7 @@ static struct bin_attribute sysfs_edc_status_attr = { | |||
730 | }; | 730 | }; |
731 | 731 | ||
732 | static ssize_t | 732 | static ssize_t |
733 | qla2x00_sysfs_read_xgmac_stats(struct kobject *kobj, | 733 | qla2x00_sysfs_read_xgmac_stats(struct file *filp, struct kobject *kobj, |
734 | struct bin_attribute *bin_attr, | 734 | struct bin_attribute *bin_attr, |
735 | char *buf, loff_t off, size_t count) | 735 | char *buf, loff_t off, size_t count) |
736 | { | 736 | { |
@@ -782,7 +782,7 @@ static struct bin_attribute sysfs_xgmac_stats_attr = { | |||
782 | }; | 782 | }; |
783 | 783 | ||
784 | static ssize_t | 784 | static ssize_t |
785 | qla2x00_sysfs_read_dcbx_tlv(struct kobject *kobj, | 785 | qla2x00_sysfs_read_dcbx_tlv(struct file *filp, struct kobject *kobj, |
786 | struct bin_attribute *bin_attr, | 786 | struct bin_attribute *bin_attr, |
787 | char *buf, loff_t off, size_t count) | 787 | char *buf, loff_t off, size_t count) |
788 | { | 788 | { |