linux/drivers/dma/idxd
Dan Carpenter 6e3c67976e dmaengine: idxd: off by one in cleanup code
commit ff58f7dd0c upstream.

The clean up is off by one so this will start at "i" and it should start
with "i - 1" and then it doesn't unregister the zeroeth elements in the
array.

Fixes: c52ca47823 ("dmaengine: idxd: add configuration component of driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/X9nFeojulsNqUSnG@mwanda
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2021-01-12 20:18:26 +01:00
..
cdev.c Merge branch 'for-linus' into fixes 2020-08-05 19:02:07 +05:30
device.c dmaengine: idxd: fix mapping of portal size 2020-11-16 22:38:20 +05:30
dma.c dmaengine: cookie bypass for out of order completion 2020-06-17 19:45:14 +05:30
idxd.h dmaengine: idxd: fix wq config registers offset programming 2020-10-28 11:02:41 +05:30
init.c dmaengine: idxd: fix wq config registers offset programming 2020-10-28 11:02:41 +05:30
irq.c Linux 5.9-rc4 2020-09-11 17:45:36 +05:30
Makefile dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
registers.h dmaengine: idxd: fix mapping of portal size 2020-11-16 22:38:20 +05:30
submit.c dmaengine: idxd: fix mapping of portal size 2020-11-16 22:38:20 +05:30
sysfs.c dmaengine: idxd: off by one in cleanup code 2021-01-12 20:18:26 +01:00