diff options
author | Hannes Reinecke <hare@suse.de> | 2014-06-25 17:27:38 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-18 00:07:38 +0400 |
commit | 1abf635d2f3332641570e1913e317073834a055f (patch) | |
tree | a895c63f34c4465c95ea82c3d561115f1ff21626 /drivers/scsi/dc395x.c | |
parent | b4210b810e5040f10a30ba56de6c3faab5c49345 (diff) | |
download | linux-1abf635d2f3332641570e1913e317073834a055f.tar.xz |
scsi: use 64-bit value for 'max_luns'
Now that we're using 64-bit LUNs internally we need to increase
the size of max_luns to 64 bits, too.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Ewan Milne <emilne@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/dc395x.c')
-rw-r--r-- | drivers/scsi/dc395x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index dff461f2338e..0c6be0a17f53 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c @@ -4638,7 +4638,7 @@ static int dc395x_show_info(struct seq_file *m, struct Scsi_Host *host) SPRINTF("irq_level 0x%04x, ", acb->irq_level); SPRINTF(" SelTimeout %ims\n", (1638 * acb->sel_timeout) / 1000); - SPRINTF("MaxID %i, MaxLUN %i, ", host->max_id, host->max_lun); + SPRINTF("MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); SPRINTF("AdapterID %i\n", host->this_id); SPRINTF("tag_max_num %i", acb->tag_max_num); |