Skip to contentSkip to conversation

MSI: Consolidate BUG_ON()s.

PATCH Eric W. Biederman 1 participant 1 message Mar 28, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Eric W. Biederman

author Acked-by
#1 lore raw
Quoted 4 lines · Michael Ellerman

When freeing MSIs and MSI-Xs, we BUG_ON() if the irq has not been freed, ie. if it still has an action. We can consolidate all of these BUG_ON()s into msi_free_irqs() as all the code paths lead there almost immediately anyway.