Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2019 01:04:19 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r344912 - in stable: 11/sys/x86/x86 11/sys/x86/xen 12/sys/x86/x86 12/sys/x86/xen
Message-ID:  <201903080104.x2814Jsk097146@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Mar  8 01:04:19 2019
New Revision: 344912
URL: https://svnweb.freebsd.org/changeset/base/344912

Log:
  MFC 342658:
  Correct variable name in two panic messages: num_msi_irq -> num_msi_irqs.

Modified:
  stable/11/sys/x86/x86/msi.c
  stable/11/sys/x86/xen/xen_msi.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/sys/x86/x86/msi.c
  stable/12/sys/x86/xen/xen_msi.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/sys/x86/x86/msi.c
==============================================================================
--- stable/11/sys/x86/x86/msi.c	Fri Mar  8 00:56:41 2019	(r344911)
+++ stable/11/sys/x86/x86/msi.c	Fri Mar  8 01:04:19 2019	(r344912)
@@ -339,7 +339,7 @@ msi_init(void)
 
 	first_msi_irq = max(MINIMUM_MSI_INT, num_io_irqs);
 	if (num_msi_irqs > UINT_MAX - first_msi_irq)
-		panic("num_msi_irq too high");
+		panic("num_msi_irqs too high");
 	num_io_irqs = first_msi_irq + num_msi_irqs;
 
 	msi_enabled = 1;

Modified: stable/11/sys/x86/xen/xen_msi.c
==============================================================================
--- stable/11/sys/x86/xen/xen_msi.c	Fri Mar  8 00:56:41 2019	(r344911)
+++ stable/11/sys/x86/xen/xen_msi.c	Fri Mar  8 01:04:19 2019	(r344912)
@@ -59,7 +59,7 @@ xen_msi_init(void)
 	MPASS(num_io_irqs > 0);
 	first_msi_irq = min(MINIMUM_MSI_INT, num_io_irqs);
 	if (num_msi_irqs > UINT_MAX - first_msi_irq)
-		panic("num_msi_irq too high");
+		panic("num_msi_irqs too high");
 	num_io_irqs = first_msi_irq + num_msi_irqs;
 
 	mtx_init(&msi_lock, "msi", NULL, MTX_DEF);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903080104.x2814Jsk097146>