aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorThomas Gleixner2021-12-06 23:51:44 +0100
committerThomas Gleixner2021-12-16 22:22:20 +0100
commitef8dd01538ea2553ab101ddce6a85a321406d9c0 (patch)
tree684fcb9e6e7f19477f0690d7831c82d087464eb0 /samples
parenta80713fea3d12344e1da18f9113c74cdb3c463f1 (diff)
genirq/msi: Make interrupt allocation less convoluted
There is no real reason to do several loops over the MSI descriptors instead of just doing one loop. In case of an error everything is undone anyway so it does not matter whether it's a partial or a full rollback. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Nishanth Menon <nm@ti.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20211206210749.010234767@linutronix.de
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions