|
@@ -910,9 +910,9 @@ sdev_store_queue_ramp_up_period(struct device *dev,
|
|
|
const char *buf, size_t count)
|
|
|
{
|
|
|
struct scsi_device *sdev = to_scsi_device(dev);
|
|
|
- unsigned long period;
|
|
|
+ unsigned int period;
|
|
|
|
|
|
- if (strict_strtoul(buf, 10, &period))
|
|
|
+ if (kstrtouint(buf, 10, &period))
|
|
|
return -EINVAL;
|
|
|
|
|
|
sdev->queue_ramp_up_period = msecs_to_jiffies(period);
|