On 03/04/15 14:16, Yann Droneaud wrote: > Le mercredi 04 mars 2015 à 11:01 +0100, Bart Van Assche a écrit : >> diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c >> index a0e24a8..e427454 100644 >> --- a/drivers/infiniband/ulp/srp/ib_srp.c >> +++ b/drivers/infiniband/ulp/srp/ib_srp.c >> @@ -3146,7 +3146,7 @@ static ssize_t srp_create_target(struct device *dev, >> target_host->transportt = ib_srp_transport_template; >> target_host->max_channel = 0; >> target_host->max_id = 1; >> - target_host->max_lun = SRP_MAX_LUN; >> + target_host->max_lun = -1LL; > > I guess you can remove SRP_MAX_LUN from > drivers/infiniband/ulp/srp/ib_srp.h too. Hello Yann, That sounds like a good idea to me. I will update this patch accordingly. 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