Module Name: src
Committed By: christos
Date: Thu Aug 21 15:43:35 UTC 2014
Modified Files:
src/sys/dev/ic: mfi.c
Log Message:
over-initialize for the benefit of gcc
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/mfi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/mfi.c
diff -u src/sys/dev/ic/mfi.c:1.54 src/sys/dev/ic/mfi.c:1.55
--- src/sys/dev/ic/mfi.c:1.54 Thu Aug 21 08:25:01 2014
+++ src/sys/dev/ic/mfi.c Thu Aug 21 11:43:35 2014
@@ -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 @@ mfi_init_ccb(struct mfi_softc *sc)
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++) {