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
This commit is contained in:
parent
ef8881526b
commit
d265aafb5a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user