cvs commit: src/sys/dev/sound/pcm dsp.c mixer.c sound.c
Ariff Abdullah
ariff at FreeBSD.org
Sun Jun 3 10:56:24 UTC 2007
ariff 2007-06-03 10:56:23 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pcm dsp.c mixer.c sound.c
Log:
Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) .
Things can get ugly without it due to uninitialized class. RELENG_6 need
a simmilar, but different treatment as well.
err.. perhaps we should teach devclass_get_maxunit() to return -1 ?
MFC after: 1 day
Revision Changes Path
1.104 +2 -1 src/sys/dev/sound/pcm/dsp.c
1.60 +2 -1 src/sys/dev/sound/pcm/mixer.c
1.114 +8 -4 src/sys/dev/sound/pcm/sound.c
More information about the cvs-src
mailing list