summaryrefslogtreecommitdiff
path: root/mm/failslab.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2021-04-16 02:37:44 +0300
committerVinod Koul <vkoul@kernel.org>2021-04-20 14:13:53 +0300
commit75b911309060f42ba94bbbf46f5f497d35d5cd02 (patch)
tree029ca751f093b8924da9959f64b4997c3130a5f6 /mm/failslab.c
parent7c5dd23e57c14cf7177b8a5e0fd08916e0c60005 (diff)
downloadlinux-75b911309060f42ba94bbbf46f5f497d35d5cd02.tar.xz
dmaengine: idxd: fix engine conf_dev lifetime
Remove devm_* allocation and fix engine->conf_dev 'struct device' lifetime. Address issues flagged by CONFIG_DEBUG_KOBJECT_RELEASE. Add release functions in order to free the allocated memory at the engine conf_dev destruction time. Reported-by: Jason Gunthorpe <jgg@nvidia.com> Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators") Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/161852986460.2203940.16603218225412118431.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions