Re: [PATCH] hpsa: Fix type ZBC conditional checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Petros" == Petros Koutoupis <petros@xxxxxxxxxxxxxxxxxxx> writes:

Petros> The device ID obtained from the inquiry can only be of a single
Petros> type.  The original code places a check for TYPE_ZBC right after
Petros> the check for TYPE_DISK. Logically, if the first if statement
Petros> sees a device of a TYPE_DISK and moves on to the second
Petros> statement checking if not TYPE_ZBC, it will always hit the
Petros> continue.

Did not apply to 4.7/scsi-queue. I merged it by hand.

-- 
Martin K. Petersen	Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux