aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorMarc Olson <marcolso@amazon.com>2017-09-06 17:23:56 -0700
committerChristoph Hellwig <hch@lst.de>2017-10-04 09:43:09 +0200
commit8ae4e4477d8f5cc7736816a0492f82934ca32ab7 (patch)
tree7b8766d6c26635ed2d4d27f7b25c905ba6ff97ae /drivers/nvme/host/nvme.h
parentblock: move __elv_next_request to blk-core.c (diff)
downloadlinux-dev-8ae4e4477d8f5cc7736816a0492f82934ca32ab7.tar.xz
linux-dev-8ae4e4477d8f5cc7736816a0492f82934ca32ab7.zip
nvme: update timeout module parameter type
The underlying blk_mq_tag_set, and request timeout parameters support an unsigned int. Extend the size of the nvme module parameters for io and admin commands to match. Signed-off-by: Marc Olson <marcolso@amazon.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r--drivers/nvme/host/nvme.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index d3f3c4447515..df787f39f4c1 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -21,10 +21,10 @@
#include <linux/lightnvm.h>
#include <linux/sed-opal.h>
-extern unsigned char nvme_io_timeout;
+extern unsigned int nvme_io_timeout;
#define NVME_IO_TIMEOUT (nvme_io_timeout * HZ)
-extern unsigned char admin_timeout;
+extern unsigned int admin_timeout;
#define ADMIN_TIMEOUT (admin_timeout * HZ)
#define NVME_DEFAULT_KATO 5