提交 9088608e 编写于 作者: A Andrew Vasquez 提交者: James Bottomley

[SCSI] qla2xxx: Mask out 'reserved' bits while processing FLT regions.

Bits 31-8 are marked as reserved and should be ignored while
interpreting a region's code.
Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 cf5a1631
...@@ -684,7 +684,7 @@ qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr) ...@@ -684,7 +684,7 @@ qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr)
"end=0x%x size=0x%x.\n", le32_to_cpu(region->code), start, "end=0x%x size=0x%x.\n", le32_to_cpu(region->code), start,
le32_to_cpu(region->end) >> 2, le32_to_cpu(region->size))); le32_to_cpu(region->end) >> 2, le32_to_cpu(region->size)));
switch (le32_to_cpu(region->code)) { switch (le32_to_cpu(region->code) & 0xff) {
case FLT_REG_FW: case FLT_REG_FW:
ha->flt_region_fw = start; ha->flt_region_fw = start;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册