git: b3ffcbec1ccb - stable/12 - vmci(4): Shorten interrupt descriptions.
Alexander Motin
mav at FreeBSD.org
Thu Aug 5 00:35:14 UTC 2021
The branch stable/12 has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=b3ffcbec1ccb4832529408e4a391cf9a62ddd54d
commit b3ffcbec1ccb4832529408e4a391cf9a62ddd54d
Author: Alexander Motin <mav at FreeBSD.org>
AuthorDate: 2021-07-22 16:58:10 +0000
Commit: Alexander Motin <mav at FreeBSD.org>
CommitDate: 2021-08-05 00:35:08 +0000
vmci(4): Shorten interrupt descriptions.
We have no space there for such a long strings. Also it makes no
sense to set description if there is only one interrupt.
MFC after: 2 weeks
(cherry picked from commit ab38c12b4a488c011ea85252621430ded6e87139)
---
sys/dev/vmware/vmci/vmci.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/dev/vmware/vmci/vmci.c b/sys/dev/vmware/vmci/vmci.c
index 82e23daa4c71..3f195231d8e2 100644
--- a/sys/dev/vmware/vmci/vmci.c
+++ b/sys/dev/vmware/vmci/vmci.c
@@ -845,17 +845,17 @@ vmci_setup_interrupts(struct vmci_softc *sc)
vmci_interrupt, NULL, &intr->vmci_handler);
if (error)
return (error);
- bus_describe_intr(sc->vmci_dev, intr->vmci_irq, intr->vmci_handler,
- "vmci_interrupt");
if (sc->vmci_num_intr == 2) {
+ bus_describe_intr(sc->vmci_dev, intr->vmci_irq,
+ intr->vmci_handler, "dg");
intr = &sc->vmci_intrs[1];
error = bus_setup_intr(sc->vmci_dev, intr->vmci_irq, flags,
NULL, vmci_interrupt_bm, NULL, &intr->vmci_handler);
if (error)
return (error);
bus_describe_intr(sc->vmci_dev, intr->vmci_irq,
- intr->vmci_handler, "vmci_interrupt_bm");
+ intr->vmci_handler, "bm");
}
return (0);
More information about the dev-commits-src-branches
mailing list