Docs: MSI-HOWTO: Put the `because' subordinate clause first
authorMichael Witten <mfwitten@gmail.com>
Thu, 14 Jul 2011 21:28:00 +0000 (21:28 +0000)
committerMichael Witten <mfwitten@gmail.com>
Tue, 2 Aug 2011 21:34:32 +0000 (21:34 +0000)
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Acked-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Documentation/PCI/MSI-HOWTO.txt

index faf37f9d29dc308ecd104fb08dfc16cc37294a2d..1d7047a348620fb38bac1460c48c6137d9c1d507 100644 (file)
@@ -137,8 +137,8 @@ interrupt number and frees the previously allocated message signaled
 interrupt(s).  The interrupt may subsequently be assigned to another
 device, so drivers should not cache the value of dev->irq.
 
-A device driver must always call free_irq() on the interrupt(s)
-for which it has called request_irq() before calling this function.
+Before calling this function, a device driver must always call free_irq()
+on any interrupt for which it previously called request_irq().
 Failure to do so results in a BUG_ON(), leaving the device with
 MSI enabled and thus leaking its vector.
 
@@ -217,8 +217,8 @@ the previously allocated message signaled interrupts.  The interrupts may
 subsequently be assigned to another device, so drivers should not cache
 the value of the 'vector' elements over a call to pci_disable_msix().
 
-A device driver must always call free_irq() on the interrupt(s)
-for which it has called request_irq() before calling this function.
+Before calling this function, a device driver must always call free_irq()
+on any interrupt for which it previously called request_irq().
 Failure to do so results in a BUG_ON(), leaving the device with
 MSI-X enabled and thus leaking its vector.