Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/arch/dreamcast/dev Pull up following revision(s) (req...



details:   https://anonhg.NetBSD.org/src/rev/f41e7a2d81dc
branches:  netbsd-7
changeset: 800020:f41e7a2d81dc
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Dec 06 06:52:22 2016 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #1284):
        sys/arch/dreamcast/dev/pvr.c: revision 1.36
Properly zero out struct fb_devconfig, including rasops_info.
Fix panic after wsconscfg(8) from serial console, caused by
a junk function pointer.

diffstat:

 sys/arch/dreamcast/dev/pvr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 488ce070e213 -r f41e7a2d81dc sys/arch/dreamcast/dev/pvr.c
--- a/sys/arch/dreamcast/dev/pvr.c      Tue Dec 06 06:50:23 2016 +0000
+++ b/sys/arch/dreamcast/dev/pvr.c      Tue Dec 06 06:52:22 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pvr.c,v 1.35 2014/03/26 16:08:45 christos Exp $        */
+/*     $NetBSD: pvr.c,v 1.35.4.1 2016/12/06 06:52:22 snj Exp $ */
 
 /*-
  * Copyright (c) 2001 Marcus Comstedt.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pvr.c,v 1.35 2014/03/26 16:08:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pvr.c,v 1.35.4.1 2016/12/06 06:52:22 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -281,7 +281,7 @@
                sc->sc_nscreens = 1;
        } else {
                sc->sc_dc = malloc(sizeof(struct fb_devconfig), M_DEVBUF,
-                   M_WAITOK);
+                   M_WAITOK | M_ZERO);
                pvr_getdevconfig(sc->sc_dc);
        }
        printf(": %d x %d, %dbpp, %s, %s\n", sc->sc_dc->dc_wid,



Home | Main Index | Thread Index | Old Index