dmaengine: idxd: Add missing cleanup for early error out in probe call
mainline inclusion from mainline-v5.13 commit ddf742d4 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596WO CVE: NA Intel-SIG: commit ddf742d4 dmaengine: idxd: Add missing cleanup for early error out in probe call. Incremental backporting patches for DSA/IAA on Intel Xeon platform. -------------------------------- The probe call stack is missing some cleanup when things fail in the middle. Add the appropriate cleanup routines to make sure we exit gracefully. Fixes: a39c7cd0 ("dmaengine: idxd: removal of pcim managed mmio mapping") Reported-by:Nikhil Rao <nikhil.rao@intel.com> Signed-off-by:
Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/162197061707.392656.15760573520817310791.stgit@djiang5-desk3.ch.intel.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Xiaochen Shen <xiaochen.shen@intel.com>
Loading
Please sign in to comment