Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/cortex fix a paste-o in a panic message



details:   https://anonhg.NetBSD.org/src/rev/a3a2dbfcf008
branches:  trunk
changeset: 446481:a3a2dbfcf008
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Dec 07 17:56:41 2018 +0000

description:
fix a paste-o in a panic message

diffstat:

 sys/arch/arm/cortex/gic_v2m.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 22e7d5731078 -r a3a2dbfcf008 sys/arch/arm/cortex/gic_v2m.c
--- a/sys/arch/arm/cortex/gic_v2m.c     Fri Dec 07 16:36:30 2018 +0000
+++ b/sys/arch/arm/cortex/gic_v2m.c     Fri Dec 07 17:56:41 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gic_v2m.c,v 1.4 2018/11/16 15:06:21 jmcneill Exp $ */
+/* $NetBSD: gic_v2m.c,v 1.5 2018/12/07 17:56:41 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #define _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gic_v2m.c,v 1.4 2018/11/16 15:06:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gic_v2m.c,v 1.5 2018/12/07 17:56:41 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -128,7 +128,7 @@
        int off;
 
        if (!pci_get_capability(pc, tag, PCI_CAP_MSI, &off, NULL))
-               panic("gic_v2m_msi_enable: device is not MSI-capable");
+               panic("gic_v2m_msi_disable: device is not MSI-capable");
 
        ctl = pci_conf_read(pc, tag, off + PCI_MSI_CTL);
        ctl &= ~PCI_MSI_CTL_MSI_ENABLE;



Home | Main Index | Thread Index | Old Index