Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9088608e authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[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: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent cf5a1631
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
		    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:
			ha->flt_region_fw = start;
			break;