Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic restore the initialization of icp->icp_ccbs that ...



details:   https://anonhg.NetBSD.org/src/rev/d6c24a72295b
branches:  trunk
changeset: 974860:d6c24a72295b
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Aug 14 09:26:40 2020 +0000

description:
restore the initialization of icp->icp_ccbs that I removed by mistake.

diffstat:

 sys/dev/ic/icp.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 80d3bf114d1c -r d6c24a72295b sys/dev/ic/icp.c
--- a/sys/dev/ic/icp.c  Fri Aug 14 09:06:14 2020 +0000
+++ b/sys/dev/ic/icp.c  Fri Aug 14 09:26:40 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icp.c,v 1.33 2019/11/10 21:16:35 chs Exp $     */
+/*     $NetBSD: icp.c,v 1.34 2020/08/14 09:26:40 chs Exp $     */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.33 2019/11/10 21:16:35 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.34 2020/08/14 09:26:40 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -179,6 +179,7 @@
         * Allocate and initialize the command control blocks.
         */
        ic = malloc(sizeof(*ic) * ICP_NCCBS, M_DEVBUF, M_WAITOK | M_ZERO);
+       icp->icp_ccbs = ic;
        state++;
 
        for (i = 0; i < ICP_NCCBS; i++, ic++) {



Home | Main Index | Thread Index | Old Index