Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix compile error when MFII_DEBUG is set. Whites...



details:   https://anonhg.NetBSD.org/src/rev/19d08232b581
branches:  trunk
changeset: 366070:19d08232b581
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri May 13 10:44:38 2022 +0000

description:
Fix compile error when MFII_DEBUG is set. Whitespace fix.

diffstat:

 sys/dev/pci/mfii.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r a022c4490ba9 -r 19d08232b581 sys/dev/pci/mfii.c
--- a/sys/dev/pci/mfii.c        Fri May 13 10:41:42 2022 +0000
+++ b/sys/dev/pci/mfii.c        Fri May 13 10:44:38 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfii.c,v 1.14 2022/05/12 12:04:09 msaitoh Exp $ */
+/* $NetBSD: mfii.c,v 1.15 2022/05/13 10:44:38 msaitoh Exp $ */
 /* $OpenBSD: mfii.c,v 1.58 2018/08/14 05:22:21 jmatthew Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfii.c,v 1.14 2022/05/12 12:04:09 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfii.c,v 1.15 2022/05/13 10:44:38 msaitoh Exp $");
 
 #include "bio.h"
 
@@ -339,8 +339,8 @@
        int                     sc_target_lds[MFI_MAX_LD];
 
        /* bio */
-       struct mfi_conf  *sc_cfg;
-       struct mfi_ctrl_info    sc_info;
+       struct mfi_conf         *sc_cfg;
+       struct mfi_ctrl_info    sc_info;
        struct mfi_ld_list      sc_ld_list;
        struct mfi_ld_details   *sc_ld_details; /* array to all logical disks */
        int                     sc_no_pd; /* used physical disks */
@@ -1033,7 +1033,7 @@
        memset(&mbox, 0, sizeof(mbox));
 
        mutex_enter(&sc->sc_lock);
-       DNPRINTF(MFI_D_MISC, "%s: mfii_shutdown\n", DEVNAME(sc));
+       DNPRINTF(MFII_D_MISC, "%s: mfii_shutdown\n", DEVNAME(sc));
        ccb = mfii_get_ccb(sc);
        if (ccb == NULL)
                return false;



Home | Main Index | Thread Index | Old Index