aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dc395x.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-06-25 09:27:38 -0400
committerChristoph Hellwig <hch@lst.de>2014-07-17 16:07:38 -0400
commit1abf635d2f3332641570e1913e317073834a055f (patch)
treea895c63f34c4465c95ea82c3d561115f1ff21626 /drivers/scsi/dc395x.c
parentb4210b810e5040f10a30ba56de6c3faab5c49345 (diff)
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.c2
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)
4638 SPRINTF("irq_level 0x%04x, ", acb->irq_level); 4638 SPRINTF("irq_level 0x%04x, ", acb->irq_level);
4639 SPRINTF(" SelTimeout %ims\n", (1638 * acb->sel_timeout) / 1000); 4639 SPRINTF(" SelTimeout %ims\n", (1638 * acb->sel_timeout) / 1000);
4640 4640
4641 SPRINTF("MaxID %i, MaxLUN %i, ", host->max_id, host->max_lun); 4641 SPRINTF("MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun);
4642 SPRINTF("AdapterID %i\n", host->this_id); 4642 SPRINTF("AdapterID %i\n", host->this_id);
4643 4643
4644 SPRINTF("tag_max_num %i", acb->tag_max_num); 4644 SPRINTF("tag_max_num %i", acb->tag_max_num);