summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-08-23 09:00:56 +0000
committermarcel <marcel@FreeBSD.org>2003-08-23 09:00:56 +0000
commita48e8d72dc68145f37493552d623dc19f16c625e (patch)
tree96ae6154ebe83c200bfafd1875a6fa1957f631dd /sys/dev/aic
parentc2a6d01cc9b7e306c199e0356ed3e14bfd1fb256 (diff)
downloadFreeBSD-src-a48e8d72dc68145f37493552d623dc19f16c625e.zip
FreeBSD-src-a48e8d72dc68145f37493552d623dc19f16c625e.tar.gz
In aic_reconnect()i, initialize scb. On ia64 the compiler warns about
a possible uninitialized variable.
Diffstat (limited to 'sys/dev/aic')
-rw-r--r--sys/dev/aic/aic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c
index 7824df1..b5507eb 100644
--- a/sys/dev/aic/aic.c
+++ b/sys/dev/aic/aic.c
@@ -490,6 +490,7 @@ aic_reconnect(struct aic_softc *aic, int tag)
CAM_DEBUG_PRINT(CAM_DEBUG_TRACE, ("aic_reconnect\n"));
/* Find the nexus */
+ scb = NULL;
TAILQ_FOREACH(ccb_h, &aic->nexus_ccbs, sim_links.tqe) {
scb = (struct aic_scb *)ccb_h->ccb_scb_ptr;
if (scb->target == aic->target && scb->lun == aic->lun &&
OpenPOWER on IntegriCloud