]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: mv_xor_v2: Get rid of msi_desc abuse
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:28 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:41 +0000 (22:16 +0100)
commitec9202c9f6efb26472d287b5b30f8ae1a6cd2441
tree4229119ca89023d56601a552d2a06c387e9d1344
parent5b5d833343f1e80e7452d5ff6058815e42f02b2b
dmaengine: mv_xor_v2: Get rid of msi_desc abuse

Storing a pointer to the MSI descriptor just to keep track of the Linux
interrupt number is daft. Use msi_get_virq() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20211210221814.970099984@linutronix.de
drivers/dma/mv_xor_v2.c