Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Dave Jiang authored
When retries is compared to wq->enqcmds_retries each loop of idxd_enqcmds(),
wq->enqcmds_retries can potentially changed by user. Assign the value
of retries to wq->enqcmds_retries during initialization so it is the
original value set when entering the function.

Fixes: 7930d855

 ("dmaengine: idxd: add knob for enqcmds retries")
Suggested-by: default avatarDave Hansen <dave.hansen@intel.com>
Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/165031760154.3658664.1983547716619266558.stgit@djiang5-desk3.ch.intel.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
bc3452cd
Forked from BeagleBoard.org / Linux
236634 commits behind the upstream repository.