>>>>> "Tomas" == Tomas Winkler <tomas.winkler@xxxxxxxxx> writes: Tomas> The use case to report 'REPORT LUNS WLUN' described in scsi_debug Tomas> documentation didn't work because: scsi_scan_host_selected() Tomas> checks for: lun < shost->max_lun Tomas> To fix this we set: max_lun = SCSI_W_LUN_REPORT_LUNS + 1; Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- 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