diff options
author | Gary R Hook <gary.hook@amd.com> | 2017-05-04 12:36:52 -0400 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2017-06-19 14:24:41 -0400 |
commit | 94fc795454f461134cdffb88bef4eb9f788c0b5d (patch) | |
tree | 3f5b018c41cbf7a716fca9d9eb3df1cd633cf970 | |
parent | 41f1830f5a7af77cf5c86359aba3cbd706687e52 (diff) |
ntb: Correct modinfo usage statement for ntb_perf
The order parameters are powers of 2; adjust the usage information
to use correct mathematical representations.
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Fixes: 8a7b6a778a85 ("ntb: ntb perf tool")
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
-rw-r--r-- | drivers/ntb/test/ntb_perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c index 434e1d474f33..5cab2831ce99 100644 --- a/drivers/ntb/test/ntb_perf.c +++ b/drivers/ntb/test/ntb_perf.c | |||
@@ -90,11 +90,11 @@ MODULE_PARM_DESC(max_mw_size, "Limit size of large memory windows"); | |||
90 | 90 | ||
91 | static unsigned int seg_order = 19; /* 512K */ | 91 | static unsigned int seg_order = 19; /* 512K */ |
92 | module_param(seg_order, uint, 0644); | 92 | module_param(seg_order, uint, 0644); |
93 | MODULE_PARM_DESC(seg_order, "size order [n^2] of buffer segment for testing"); | 93 | MODULE_PARM_DESC(seg_order, "size order [2^n] of buffer segment for testing"); |
94 | 94 | ||
95 | static unsigned int run_order = 32; /* 4G */ | 95 | static unsigned int run_order = 32; /* 4G */ |
96 | module_param(run_order, uint, 0644); | 96 | module_param(run_order, uint, 0644); |
97 | MODULE_PARM_DESC(run_order, "size order [n^2] of total data to transfer"); | 97 | MODULE_PARM_DESC(run_order, "size order [2^n] of total data to transfer"); |
98 | 98 | ||
99 | static bool use_dma; /* default to 0 */ | 99 | static bool use_dma; /* default to 0 */ |
100 | module_param(use_dma, bool, 0644); | 100 | module_param(use_dma, bool, 0644); |