dmaengine: dmatest: timeout value of -1 should specify infinite wait
authorHook, Gary <Gary.Hook@amd.com>
Tue, 18 Jun 2019 22:03:04 +0000 (22:03 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Jun 2019 04:27:41 +0000 (09:57 +0530)
commited04b7c57c3383ed4573f1d1d1dbdc1108ba0bed
tree386d6516f6bf699d619392fdb642d723d9a4be91
parenta183ec708b7318bec6bb8a6593f9f7e9bb3fdf4e
dmaengine: dmatest: timeout value of -1 should specify infinite wait

The dmatest module parameter 'timeout' is documented as accepting a
-1 to mean "infinite timeout". However, an infinite timeout is not
advised, nor possible since the module parameter is an unsigned int,
which won't accept a negative value. Change the parameter
comment to reflect current behavior, which allows values from 0 up to
4294967295 (0xFFFFFFFF).

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c