Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia Build fix



details:   https://anonhg.NetBSD.org/src/rev/ab5b88bacfb8
branches:  trunk
changeset: 320316:ab5b88bacfb8
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jul 01 10:46:02 2018 +0000

description:
Build fix

diffstat:

 sys/arch/arm/nvidia/tegra_xusb.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r b8ba077acaec -r ab5b88bacfb8 sys/arch/arm/nvidia/tegra_xusb.c
--- a/sys/arch/arm/nvidia/tegra_xusb.c  Sun Jul 01 10:08:38 2018 +0000
+++ b/sys/arch/arm/nvidia/tegra_xusb.c  Sun Jul 01 10:46:02 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_xusb.c,v 1.13 2018/06/29 17:48:24 msaitoh Exp $ */
+/* $NetBSD: tegra_xusb.c,v 1.14 2018/07/01 10:46:02 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2016 Jonathan A. Kollasch
@@ -30,7 +30,7 @@
 #include "opt_tegra.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_xusb.c,v 1.13 2018/06/29 17:48:24 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_xusb.c,v 1.14 2018/07/01 10:46:02 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -428,13 +428,12 @@
                break;
        default:
                if (val < PCI_USBREV_3_0) {
-                       aprint_error_dev(self, "Unknown revision (%02x)\n",
-                           usbrev);
+                       aprint_error_dev(self, "Unknown revision (%02x)\n", val);
                        sc->sc_bus.ub_revision = USBREV_UNKNOWN;
                } else {
                        /* Default to the latest revision */
                        aprint_normal_dev(self,
-                           "Unknown revision (%02x). Set to 3.1.\n", usbrev);
+                           "Unknown revision (%02x). Set to 3.1.\n", val);
                        sc->sc_bus.ub_revision = USBREV_3_1;
                }
                break;



Home | Main Index | Thread Index | Old Index