cvs commit: src/sys/dev/sound/pci csapcm.c

Ariff Abdullah ariff at FreeBSD.org
Tue Apr 4 17:32:49 UTC 2006


ariff       2006-04-04 17:32:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/pci    csapcm.c 
  Log:
  MFC (revision 1.37)
  A pointer was checked for NULL after dereferencing it. The check is
  not needed here, except there's a bug which results in detaching the
  device twice.
  
  Move the NULL pointer check to the beginning of the function and
  convert it into a KASSERT.
  
  CID:            483
  Found with:     Coverity Prevent(tm)
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.34.2.2  +4 -4      src/sys/dev/sound/pci/csapcm.c


More information about the cvs-src mailing list