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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"