svn commit: r239104 - head/sys/dev/aic7xxx
Dimitry Andric
dim at FreeBSD.org
Mon Aug 6 20:01:33 UTC 2012
Author: dim
Date: Mon Aug 6 20:01:32 2012
New Revision: 239104
URL: http://svn.freebsd.org/changeset/base/239104
Log:
In sys/dev/aic7xxx/aic79xx_osm.c, function ahd_attach(), initialize the
'path' variable to NULL, to avoid using it uninitialized in certain
cases.
Found by: clang
MFC after: 1 week
Modified:
head/sys/dev/aic7xxx/aic79xx_osm.c
Modified: head/sys/dev/aic7xxx/aic79xx_osm.c
==============================================================================
--- head/sys/dev/aic7xxx/aic79xx_osm.c Mon Aug 6 19:49:57 2012 (r239103)
+++ head/sys/dev/aic7xxx/aic79xx_osm.c Mon Aug 6 20:01:32 2012 (r239104)
@@ -222,6 +222,7 @@ ahd_attach(struct ahd_softc *ahd)
count = 0;
devq = NULL;
sim = NULL;
+ path = NULL;
/*
* Create a thread to perform all recovery.
More information about the svn-src-head
mailing list