virt_irq_{alloc,free} inconsistency with no MSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While investigating this (with current -git for sun4u and no 
CONFIG_PCI_MSI)

  CC      arch/sparc64/kernel/irq.o
cc1: warnings being treated as errors
arch/sparc64/kernel/irq.c:113: warning: 'virt_irq_free' defined but not used

I found that virt_irq_free() is used only if CONFIG_PCI_MSI is defined 
(for sun4v - simple to cure with a define), but virt_irq_alloc() is used 
even without MSI enabled. Is this really correct? Do we alloc and not 
free it in this case?

-- 
Meelis Roos (mroos@xxxxxxxx)
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux