aboutsummaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorChristophe JAILLET2022-04-21 08:13:38 +0200
committerVinod Koul2022-05-16 16:58:32 +0530
commitaab08c1aac01097815fbcf10fce7021d2396a31f (patch)
treeba2d01a8b20134d1c5b759a9576fbcb22d19657b /drivers/reset
parent461cd3709f266d179064b0a63d8949fa2e75ff72 (diff)
dmaengine: idxd: Fix the error handling path in idxd_cdev_register()
If a call to alloc_chrdev_region() fails, the already allocated resources are leaking. Add the needed error handling path to fix the leak. Fixes: 42d279f9137a ("dmaengine: idxd: add char driver to expose submission portal to userland") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/1b5033dcc87b5f2a953c413f0306e883e6114542.1650521591.git.christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions