While converting the MSI descriptor locking to a lock guard() I stumbled over various abuse of MSI descriptors (again). The following series cleans up the offending code and converts the MSI descriptor locking over to lock guard(). The series applies on Linus tree and is also available from git: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/msi Thanks, tglx --- drivers/ntb/msi.c | 22 +---- drivers/pci/controller/pci-hyperv.c | 14 --- drivers/pci/msi/api.c | 6 - drivers/pci/msi/msi.c | 77 ++++++++++++++---- drivers/pci/pci.h | 9 ++ drivers/pci/tph.c | 44 ---------- drivers/soc/ti/ti_sci_inta_msi.c | 10 -- drivers/ufs/host/ufs-qcom.c | 75 +++++++++--------- include/linux/msi.h | 12 +- kernel/irq/msi.c | 150 ++++++++++++------------------------ 10 files changed, 181 insertions(+), 238 deletions(-)