Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/hp300/hp300 Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/cea82d29d3b3
branches:  netbsd-8
changeset: 931246:cea82d29d3b3
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Apr 24 16:07:04 2020 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #1540):

        sys/arch/hp300/hp300/machdep.c: revision 1.233

Fix garbages in dmesg caused by uninitialized variables slipped in r1.228.

Noticed in HP9000/362 dmesg:
 https://dmesgd.nycbug.org/index.cgi?do=view&id=5459

Should be pulled up to netbsd-8 and netbsd-9.

diffstat:

 sys/arch/hp300/hp300/machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 93d3fddc4601 -r cea82d29d3b3 sys/arch/hp300/hp300/machdep.c
--- a/sys/arch/hp300/hp300/machdep.c    Thu Apr 23 14:13:05 2020 +0000
+++ b/sys/arch/hp300/hp300/machdep.c    Fri Apr 24 16:07:04 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.229 2014/04/20 04:12:54 tsutsui Exp $    */
+/*     $NetBSD: machdep.c,v 1.229.20.1 2020/04/24 16:07:04 martin Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.229 2014/04/20 04:12:54 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.229.20.1 2020/04/24 16:07:04 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -433,6 +433,7 @@
        /*
         * ...and the FPU type.
         */
+       fpu[0] = '\0';
        switch (fputype) {
        case FPU_68040:
                strlcpy(fpu, "+FPU", sizeof(fpu));
@@ -458,6 +459,7 @@
        /*
         * ...and finally, the cache type.
         */
+       cache[0] = '\0';
        if (cputype == CPU_68040)
                snprintf(cache, sizeof(cache),
                    ", 4k on-chip physical I/D caches");



Home | Main Index | Thread Index | Old Index