Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic over-initialize for the benefit of gcc
details: https://anonhg.NetBSD.org/src/rev/77f9d5d0c6be
branches: trunk
changeset: 331725:77f9d5d0c6be
user: christos <christos%NetBSD.org@localhost>
date: Thu Aug 21 15:43:35 2014 +0000
description:
over-initialize for the benefit of gcc
diffstat:
sys/dev/ic/mfi.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3d844a9e11ac -r 77f9d5d0c6be sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c Thu Aug 21 15:37:13 2014 +0000
+++ b/sys/dev/ic/mfi.c Thu Aug 21 15:43:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.54 2014/08/21 12:25:01 christos Exp $ */
+/* $NetBSD: mfi.c,v 1.55 2014/08/21 15:43:35 christos Exp $ */
/* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
/*
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.54 2014/08/21 12:25:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.55 2014/08/21 15:43:35 christos Exp $");
#include "bio.h"
@@ -389,6 +389,9 @@
MEGASAS_THUNDERBOLT_NEW_MSG_SIZE;
io_req_base_phys = MFIMEM_DVA(sc->sc_tbolt_reqmsgpool) +
MEGASAS_THUNDERBOLT_NEW_MSG_SIZE;
+ } else {
+ io_req_base = NULL; /* XXX: gcc */
+ io_req_base_phys = 0; /* XXX: gcc */
}
for (i = 0; i < sc->sc_max_cmds; i++) {
Home |
Main Index |
Thread Index |
Old Index