Date: Tue, 4 Apr 2006 17:34:10 +0000 (UTC) From: Ariff Abdullah <ariff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/usb uaudio.c Message-ID: <200604041734.k34HYADa078931@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ariff 2006-04-04 17:34:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/sound/usb uaudio.c
Log:
MFC (revision 1.20)
Convert NULL checks into KASSERT (and move them before the first
dereferencing) since a NULL value would be a bug here.
Note: Both affected functions look very similar. A refactoring may
be beneficial.
CID: 483, 485
Found with: Coverity Prevent(tm)
Approved by: re (scottl)
Revision Changes Path
1.14.2.2 +11 -10 src/sys/dev/sound/usb/uaudio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604041734.k34HYADa078931>
