summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-04-12 04:30:35 +0000
committerimp <imp@FreeBSD.org>2005-04-12 04:30:35 +0000
commita76323e26fd7c992e42ffbe2063548de82693462 (patch)
tree400eea20c41f157eac1356353d002a6d29874f8f /sys/kern
parent02a4d4e044f7545011ede4215b77b6c911275c48 (diff)
downloadFreeBSD-src-a76323e26fd7c992e42ffbe2063548de82693462.zip
FreeBSD-src-a76323e26fd7c992e42ffbe2063548de82693462.tar.gz
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@
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud