Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi KNF



details:   https://anonhg.NetBSD.org/src/rev/4db0388a0d8d
branches:  trunk
changeset: 950370:4db0388a0d8d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jan 26 15:29:41 2021 +0000

description:
KNF

diffstat:

 sys/dev/acpi/acpi_mcfg.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cba668eeec95 -r 4db0388a0d8d sys/dev/acpi/acpi_mcfg.c
--- a/sys/dev/acpi/acpi_mcfg.c  Tue Jan 26 15:08:02 2021 +0000
+++ b/sys/dev/acpi/acpi_mcfg.c  Tue Jan 26 15:29:41 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_mcfg.c,v 1.21 2020/12/06 12:47:12 jmcneill Exp $  */
+/*     $NetBSD: acpi_mcfg.c,v 1.22 2021/01/26 15:29:41 skrll Exp $     */
 
 /*-
  * Copyright (C) 2015 NONAKA Kimihiro <nonaka%NetBSD.org@localhost>
@@ -28,7 +28,7 @@
 #include "opt_pci.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_mcfg.c,v 1.21 2020/12/06 12:47:12 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_mcfg.c,v 1.22 2021/01/26 15:29:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -364,7 +364,7 @@
                if (mcfg_ops->ao_validate != NULL &&
                    !mcfg_ops->ao_validate(ama->Address, ama->StartBusNumber,
                      &bus_end)) {
-                       if (!acpimcfg_find_system_resource( ama->Address,
+                       if (!acpimcfg_find_system_resource(ama->Address,
                            ama->StartBusNumber, &bus_end)) {
                                aprint_debug_dev(acpi_sc->sc_dev,
                                    "MCFG: segment %d, bus %d-%d, "



Home | Main Index | Thread Index | Old Index