diff options
author | anholt <anholt@FreeBSD.org> | 2003-10-24 21:45:21 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-10-24 21:45:21 +0000 |
commit | 2fd31354d9e4c945cf1de39d75e7a45ba1ed36cc (patch) | |
tree | 7d925a9446440742a4ff452cd6daf1dd3da16864 /sbin/devd/parse.y | |
parent | bc60c7cbae93d3763d1db8d4b559bb9bfc60e790 (diff) | |
download | FreeBSD-src-2fd31354d9e4c945cf1de39d75e7a45ba1ed36cc.zip FreeBSD-src-2fd31354d9e4c945cf1de39d75e7a45ba1ed36cc.tar.gz |
Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL)
in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are
protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device is
uninitialied (when you aren't in X).
Diffstat (limited to 'sbin/devd/parse.y')
0 files changed, 0 insertions, 0 deletions