Skip to content

Commit 7f2b722

Browse files
andy-shevvinodkoul
authored andcommitted
dmaengine: dmatest: Describe members of struct dmatest_params
Kernel documentation validator complains that not all members of struct dmatest_params are being described. Describe them all. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 35c5fc0 commit 7f2b722

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

drivers/dma/dmatest.c

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ static bool norandom;
7272
module_param(norandom, bool, 0644);
7373
MODULE_PARM_DESC(norandom, "Disable random offset setup (default: random)");
7474

75-
static bool polled;
76-
module_param(polled, bool, S_IRUGO | S_IWUSR);
77-
MODULE_PARM_DESC(polled, "Use polling for completion instead of interrupts");
78-
7975
static bool verbose;
8076
module_param(verbose, bool, S_IRUGO | S_IWUSR);
8177
MODULE_PARM_DESC(verbose, "Enable \"success\" result messages (default: off)");
@@ -88,6 +84,10 @@ static unsigned int transfer_size;
8884
module_param(transfer_size, uint, 0644);
8985
MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default: not used (0))");
9086

87+
static bool polled;
88+
module_param(polled, bool, S_IRUGO | S_IWUSR);
89+
MODULE_PARM_DESC(polled, "Use polling for completion instead of interrupts");
90+
9191
/**
9292
* struct dmatest_params - test parameters.
9393
* @buf_size: size of the memcpy test buffer
@@ -99,6 +99,11 @@ MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default
9999
* @xor_sources: number of xor source buffers
100100
* @pq_sources: number of p+q source buffers
101101
* @timeout: transfer timeout in msec, -1 for infinite timeout
102+
* @noverify: disable data verification
103+
* @norandom: disable random offset setup
104+
* @alignment: custom data address alignment taken as 2^alignment
105+
* @transfer_size: custom transfer size in bytes
106+
* @polled: use polling for completion instead of interrupts
102107
*/
103108
struct dmatest_params {
104109
unsigned int buf_size;

0 commit comments

Comments
 (0)