aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/scsi_scan.c6
-rw-r--r--drivers/scsi/scsi_transport_fc.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 309b2246d2d..20df7fe4f48 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -85,7 +85,7 @@ static unsigned int max_scsi_luns = MAX_SCSI_LUNS;
85static unsigned int max_scsi_luns = 1; 85static unsigned int max_scsi_luns = 1;
86#endif 86#endif
87 87
88module_param_named(max_luns, max_scsi_luns, int, S_IRUGO|S_IWUSR); 88module_param_named(max_luns, max_scsi_luns, uint, S_IRUGO|S_IWUSR);
89MODULE_PARM_DESC(max_luns, 89MODULE_PARM_DESC(max_luns,
90 "last scsi LUN (should be between 1 and 2^32-1)"); 90 "last scsi LUN (should be between 1 and 2^32-1)");
91 91
@@ -109,14 +109,14 @@ MODULE_PARM_DESC(scan, "sync, async or none");
109 */ 109 */
110static unsigned int max_scsi_report_luns = 511; 110static unsigned int max_scsi_report_luns = 511;
111 111
112module_param_named(max_report_luns, max_scsi_report_luns, int, S_IRUGO|S_IWUSR); 112module_param_named(max_report_luns, max_scsi_report_luns, uint, S_IRUGO|S_IWUSR);
113MODULE_PARM_DESC(max_report_luns, 113MODULE_PARM_DESC(max_report_luns,
114 "REPORT LUNS maximum number of LUNS received (should be" 114 "REPORT LUNS maximum number of LUNS received (should be"
115 " between 1 and 16384)"); 115 " between 1 and 16384)");
116 116
117static unsigned int scsi_inq_timeout = SCSI_TIMEOUT/HZ+3; 117static unsigned int scsi_inq_timeout = SCSI_TIMEOUT/HZ+3;
118 118
119module_param_named(inq_timeout, scsi_inq_timeout, int, S_IRUGO|S_IWUSR); 119module_param_named(inq_timeout, scsi_inq_timeout, uint, S_IRUGO|S_IWUSR);
120MODULE_PARM_DESC(inq_timeout, 120MODULE_PARM_DESC(inq_timeout,
121 "Timeout (in seconds) waiting for devices to answer INQUIRY." 121 "Timeout (in seconds) waiting for devices to answer INQUIRY."
122 " Default is 5. Some non-compliant devices need more."); 122 " Default is 5. Some non-compliant devices need more.");
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index 8df0f080997..7a7cfe583b2 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -474,7 +474,7 @@ static DECLARE_TRANSPORT_CLASS(fc_vport_class,
474 */ 474 */
475static unsigned int fc_dev_loss_tmo = 60; /* seconds */ 475static unsigned int fc_dev_loss_tmo = 60; /* seconds */
476 476
477module_param_named(dev_loss_tmo, fc_dev_loss_tmo, int, S_IRUGO|S_IWUSR); 477module_param_named(dev_loss_tmo, fc_dev_loss_tmo, uint, S_IRUGO|S_IWUSR);
478MODULE_PARM_DESC(dev_loss_tmo, 478MODULE_PARM_DESC(dev_loss_tmo,
479 "Maximum number of seconds that the FC transport should" 479 "Maximum number of seconds that the FC transport should"
480 " insulate the loss of a remote port. Once this value is" 480 " insulate the loss of a remote port. Once this value is"