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)
commitf6632bb2c1454b857adcd131320379ec16fd8666
tree4229119ca89023d56601a552d2a06c387e9d1344
parentf48235900182d64537c6e8f8dc0932b57a1a0638
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