Skip to content
Commit c56c81ab authored by Dan Williams's avatar Dan Williams
Browse files

dmatest: fix max channels handling



The check for reaching max_channels is short circuited by 'continuing'
after successfully adding a channel.

[ Impact: make the 'max_channels' module parameter actually have an effect ]

Cc: <stable@kernel.org>
Reported-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 577c9c45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment