OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f098d
)
qla2xxx: Enable fw_dump_size for ISP8044.
author
Hiral Patel
<hiral.patel@qlogic.com>
Fri, 11 Apr 2014 20:54:22 +0000
(16:54 -0400)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 19 May 2014 11:31:01 +0000
(13:31 +0200)
Signed-off-by: Hiral Patel <hiral.patel@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
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_attr.c
b/drivers/scsi/qla2xxx/qla_attr.c
index
07befcf
..
bc0cee3
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_attr.c
+++ b/
drivers/scsi/qla2xxx/qla_attr.c
@@
-1495,7
+1495,7
@@
qla2x00_fw_dump_size_show(struct device *dev, struct device_attribute *attr,
if (!ha->fw_dumped)
size = 0;
- else if (IS_
QLA82XX
(ha))
+ else if (IS_
P3P_TYPE
(ha))
size = ha->md_template_size + ha->md_dump_size;
else
size = ha->fw_dump_len;