On 07/15/15 00:55, Sagi Grimberg wrote:
+bool target_sense_desc_format(struct se_device *dev) +{ + return dev->transport->get_blocks(dev) > 0xffffffffULL; +}
Please consider to use U32_MAX instead of 0xffffffffULL since that would make this function easier to read and to verify.
Bart. -- 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