2014-06-11 21:13:54

by Mike Snitzer

[permalink] [raw]
Subject: [PATCH] null_blk: fix name and description of 'queue_mode' module parameter

'use_mq' is not the name of the module parameter, 'queue_mode' is.

Signed-off-by: Mike Snitzer <[email protected]>
---
drivers/block/null_blk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/block/null_blk.c b/drivers/block/null_blk.c
index 091b9ea..8c598f6 100644
--- a/drivers/block/null_blk.c
+++ b/drivers/block/null_blk.c
@@ -78,7 +78,7 @@ MODULE_PARM_DESC(home_node, "Home node for the device");

static int queue_mode = NULL_Q_MQ;
module_param(queue_mode, int, S_IRUGO);
-MODULE_PARM_DESC(use_mq, "Use blk-mq interface (0=bio,1=rq,2=multiqueue)");
+MODULE_PARM_DESC(queue_mode, "Block interface to use (0=bio,1=rq,2=multiqueue)");

static int gb = 250;
module_param(gb, int, S_IRUGO);
--
1.7.1


2014-06-11 21:33:50

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] null_blk: fix name and description of 'queue_mode' module parameter

On 06/11/2014 03:13 PM, Mike Snitzer wrote:
> 'use_mq' is not the name of the module parameter, 'queue_mode' is.

Thanks Mike.