projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5a4c3
)
qla2xxx: Free sysfs attributes for ISP27xx.
author
Nigel Kirkland
<nigel.kirkland@qlogic.com>
Thu, 25 Sep 2014 09:16:56 +0000
(
05:16
-0400)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 25 Sep 2014 12:25:04 +0000
(14:25 +0200)
Signed-off-by: Nigel Kirkland <nigel.kirkland@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_attr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_attr.c
b/drivers/scsi/qla2xxx/qla_attr.c
index 677239f41ea52b54c0682968a5efa602e99c50d3..9391e4bf1fbbf25f5f0d63937ea2a41fc6c38416 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_attr.c
+++ b/
drivers/scsi/qla2xxx/qla_attr.c
@@
-987,6
+987,8
@@
qla2x00_free_sysfs_attr(scsi_qla_host_t *vha, bool stop_beacon)
continue;
if (iter->is4GBp_only == 3 && !(IS_CNA_CAPABLE(vha->hw)))
continue;
+ if (iter->is4GBp_only == 0x27 && !IS_QLA27XX(vha->hw))
+ continue;
sysfs_remove_bin_file(&host->shost_gendev.kobj,
iter->attr);