Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 04:30:35 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/pccard pccard.c
Message-ID:  <200504120430.j3C4UZY4088855@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2005-04-12 04:30:35 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccard       pccard.c 
  Log:
  Use return value of resource_list_add to avoid a second
  resource_list_find.  Check to make sure that rle is not NULL and panic
  if it is (but it appears that resource_list_add already panics, so I'm
  not entirely sure it is necessary now).
  
  Add a test to make sure we have a interrupt resource when we're
  disabling it.  This is also a cannot happen, but the extra care
  shoudln't hurt.
  
  Found by: Coventry tool via sam@
  
  Revision  Changes    Path
  1.102     +11 -7     src/sys/dev/pccard/pccard.c



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