Re: [PATCH v3 14/23] ncr5380: Reduce max_lun limit
From: Hannes Reinecke
Date: Wed Mar 23 2016 - 03:28:30 EST
On 03/21/2016 03:32 AM, Finn Thain wrote:
> The driver has a limit of eight LUs because of the byte-sized bitfield
> that is used for busy flags. That means the maximum LUN is 7. The default
> is 8.
>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
> Tested-by: Michael Schmitz <schmitzmic@xxxxxxxxx>
>
> ---
>
> Changed since v1:
> - Reduce shost->max_lun limit instead of adding 'MAX_LUN' limit.
>
> ---
> drivers/scsi/NCR5380.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)