diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-06 14:36:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-06 14:36:30 -0400 |
commit | ab69bcd66fb4be64edfc767365cb9eb084961246 (patch) | |
tree | f7623585aee58978fc7814460fff517ec39138f2 /drivers/scsi | |
parent | c513b67e68787eceafeede32bcd0edbee45c0006 (diff) | |
parent | 6937e8f8c0135f2325194c372ada6dc655499992 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (28 commits)
driver core: device_rename's new_name can be const
sysfs: Remove owner field from sysfs struct attribute
powerpc/pci: Remove owner field from attribute initialization in PCI bridge init
regulator: Remove owner field from attribute initialization in regulator core driver
leds: Remove owner field from attribute initialization in bd2802 driver
scsi: Remove owner field from attribute initialization in ARCMSR driver
scsi: Remove owner field from attribute initialization in LPFC driver
cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
Driver core: Add BUS_NOTIFY_BIND_DRIVER
driver core: fix memory leak on one error path in bus_register()
debugfs: no longer needs to depend on SYSFS
sysfs: Fix one more signature discrepancy between sysfs implementation and docs.
sysfs: fix discrepancies between implementation and documentation
dcdbas: remove a redundant smi_data_buf_free in dcdbas_exit
dmi-id: fix a memory leak in dmi_id_init error path
sysfs: sysfs_chmod_file's attr can be const
firmware: Update hotplug script
Driver core: move platform device creation helpers to .init.text (if MODULE=n)
Driver core: reduce duplicated code for platform_device creation
Driver core: use kmemdup in platform_device_add_resources
...
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/arcmsr/arcmsr_attr.c | 3 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_attr.c b/drivers/scsi/arcmsr/arcmsr_attr.c index 07fdfe57e38e..a4e04c50c436 100644 --- a/drivers/scsi/arcmsr/arcmsr_attr.c +++ b/drivers/scsi/arcmsr/arcmsr_attr.c | |||
@@ -192,7 +192,6 @@ static struct bin_attribute arcmsr_sysfs_message_read_attr = { | |||
192 | .attr = { | 192 | .attr = { |
193 | .name = "mu_read", | 193 | .name = "mu_read", |
194 | .mode = S_IRUSR , | 194 | .mode = S_IRUSR , |
195 | .owner = THIS_MODULE, | ||
196 | }, | 195 | }, |
197 | .size = 1032, | 196 | .size = 1032, |
198 | .read = arcmsr_sysfs_iop_message_read, | 197 | .read = arcmsr_sysfs_iop_message_read, |
@@ -202,7 +201,6 @@ static struct bin_attribute arcmsr_sysfs_message_write_attr = { | |||
202 | .attr = { | 201 | .attr = { |
203 | .name = "mu_write", | 202 | .name = "mu_write", |
204 | .mode = S_IWUSR, | 203 | .mode = S_IWUSR, |
205 | .owner = THIS_MODULE, | ||
206 | }, | 204 | }, |
207 | .size = 1032, | 205 | .size = 1032, |
208 | .write = arcmsr_sysfs_iop_message_write, | 206 | .write = arcmsr_sysfs_iop_message_write, |
@@ -212,7 +210,6 @@ static struct bin_attribute arcmsr_sysfs_message_clear_attr = { | |||
212 | .attr = { | 210 | .attr = { |
213 | .name = "mu_clear", | 211 | .name = "mu_clear", |
214 | .mode = S_IWUSR, | 212 | .mode = S_IWUSR, |
215 | .owner = THIS_MODULE, | ||
216 | }, | 213 | }, |
217 | .size = 1, | 214 | .size = 1, |
218 | .write = arcmsr_sysfs_iop_message_clear, | 215 | .write = arcmsr_sysfs_iop_message_clear, |
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 868874c28f99..162704cf6a96 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
@@ -2778,7 +2778,6 @@ static struct bin_attribute sysfs_drvr_stat_data_attr = { | |||
2778 | .attr = { | 2778 | .attr = { |
2779 | .name = "lpfc_drvr_stat_data", | 2779 | .name = "lpfc_drvr_stat_data", |
2780 | .mode = S_IRUSR, | 2780 | .mode = S_IRUSR, |
2781 | .owner = THIS_MODULE, | ||
2782 | }, | 2781 | }, |
2783 | .size = LPFC_MAX_TARGET * MAX_STAT_DATA_SIZE_PER_TARGET, | 2782 | .size = LPFC_MAX_TARGET * MAX_STAT_DATA_SIZE_PER_TARGET, |
2784 | .read = sysfs_drvr_stat_data_read, | 2783 | .read = sysfs_drvr_stat_data_read, |