]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/qla2xxx/qla_os.c
qla2xxx: Restrict max_lun to 16-bit for older HBAs
authorHannes Reinecke <hare@suse.de>
Tue, 3 Jun 2014 08:58:54 +0000 (10:58 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jul 2014 20:07:36 +0000 (22:07 +0200)
commit755f516bbb983915d6cbfb5aa592cc0a5a99fd00
tree1038be48bb4fa6dba32cb4381c471c90f69a43ff
parent22ffeb48b7584d6cd50f2a595ed6065d86a87459
qla2xxx: Restrict max_lun to 16-bit for older HBAs

Older HBAs are only capable of supporting 16-bit LUNs,
so we need to make sure to adjust max_lun accordingly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Reviewed-by: Ewan Milne <emilne@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_os.c