Date: Thu, 22 Jul 2021 17:02:28 GMT From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ab38c12b4a48 - main - vmci(4): Shorten interrupt descriptions. Message-ID: <202107221702.16MH2Sqs077547@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=ab38c12b4a488c011ea85252621430ded6e87139 commit ab38c12b4a488c011ea85252621430ded6e87139 Author: Alexander Motin <mav@FreeBSD.org> AuthorDate: 2021-07-22 16:58:10 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2021-07-22 17:02:23 +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 --- 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 91fcb39ed6ed..bbf17bbe7e41 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107221702.16MH2Sqs077547>