]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit518406180c6601a15e9303235ee41d816cd0cac0
tree9c7bf69cb0e24778f2e93ea9a9ca740829c7d1a6
parent779a7ac0070d22e47378aedbe0999442ce8def44
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