NTB/msi: Convert to msi_on_each_desc()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:34 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:19 +0000 (22:22 +0100)
commit68e3183580bea59e764d33283875e5f0adc753f3
tree9c7bf69cb0e24778f2e93ea9a9ca740829c7d1a6
parentdc2b453290c471266a2d56d7ead981e3c5cea05e
NTB/msi: Convert to msi_on_each_desc()

Replace the about to vanish iterators, make use of the filtering and take
the descriptor lock around the iteration.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211206210748.683004012@linutronix.de
drivers/ntb/msi.c