Re: [PATCH v3 14/23] ncr5380: Reduce max_lun limit

Hannes Reinecke
2016-03-23T07:28:21Z

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@telegraphics.com.au>
> Tested-by: Michael Schmitz <schmitzmic@gmail.com>
>
> ---
>
> 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@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +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)