diff options
| author | Michael Witten <mfwitten@gmail.com> | 2011-07-14 17:28:00 -0400 |
|---|---|---|
| committer | Michael Witten <mfwitten@gmail.com> | 2011-08-02 17:34:32 -0400 |
| commit | 263d8d57b3b2e2fbb4e79b7cda7ef3399add4fb7 (patch) | |
| tree | 3276b4539a9d7e7f8471a38912ae1076924db54e | |
| parent | 1d15afcc73004028f2870ede7a56d590e1ca8ca8 (diff) | |
Docs: MSI-HOWTO: Put the `because' subordinate clause first
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>
| -rw-r--r-- | Documentation/PCI/MSI-HOWTO.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/PCI/MSI-HOWTO.txt b/Documentation/PCI/MSI-HOWTO.txt index faf37f9d29dc..1d7047a34862 100644 --- a/Documentation/PCI/MSI-HOWTO.txt +++ b/Documentation/PCI/MSI-HOWTO.txt | |||
| @@ -137,8 +137,8 @@ interrupt number and frees the previously allocated message signaled | |||
| 137 | interrupt(s). The interrupt may subsequently be assigned to another | 137 | interrupt(s). The interrupt may subsequently be assigned to another |
| 138 | device, so drivers should not cache the value of dev->irq. | 138 | device, so drivers should not cache the value of dev->irq. |
| 139 | 139 | ||
| 140 | A device driver must always call free_irq() on the interrupt(s) | 140 | Before calling this function, a device driver must always call free_irq() |
| 141 | for which it has called request_irq() before calling this function. | 141 | on any interrupt for which it previously called request_irq(). |
| 142 | Failure to do so results in a BUG_ON(), leaving the device with | 142 | Failure to do so results in a BUG_ON(), leaving the device with |
| 143 | MSI enabled and thus leaking its vector. | 143 | MSI enabled and thus leaking its vector. |
| 144 | 144 | ||
| @@ -217,8 +217,8 @@ the previously allocated message signaled interrupts. The interrupts may | |||
| 217 | subsequently be assigned to another device, so drivers should not cache | 217 | subsequently be assigned to another device, so drivers should not cache |
| 218 | the value of the 'vector' elements over a call to pci_disable_msix(). | 218 | the value of the 'vector' elements over a call to pci_disable_msix(). |
| 219 | 219 | ||
| 220 | A device driver must always call free_irq() on the interrupt(s) | 220 | Before calling this function, a device driver must always call free_irq() |
| 221 | for which it has called request_irq() before calling this function. | 221 | on any interrupt for which it previously called request_irq(). |
| 222 | Failure to do so results in a BUG_ON(), leaving the device with | 222 | Failure to do so results in a BUG_ON(), leaving the device with |
| 223 | MSI-X enabled and thus leaking its vector. | 223 | MSI-X enabled and thus leaking its vector. |
| 224 | 224 | ||
