Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 09:06:05 +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/pcm sound.c
Message-ID:  <200706040906.l54966Nb061497@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ariff       2007-06-04 09:06:05 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/pcm    sound.c 
  Log:
  MFC:
  
  Simmilar, but different treatment:
  
  Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) .
  Things can get ugly without it due to uninitialized class.
  
  err.. perhaps we should teach devclass_get_maxunit() to return -1 ?
  
  Revision  Changes    Path
  1.93.2.5  +2 -1      src/sys/dev/sound/pcm/sound.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706040906.l54966Nb061497>