summaryrefslogtreecommitdiffstats
path: root/sbin/devd/token.l
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-10-24 21:45:21 +0000
committeranholt <anholt@FreeBSD.org>2003-10-24 21:45:21 +0000
commit2fd31354d9e4c945cf1de39d75e7a45ba1ed36cc (patch)
tree7d925a9446440742a4ff452cd6daf1dd3da16864 /sbin/devd/token.l
parentbc60c7cbae93d3763d1db8d4b559bb9bfc60e790 (diff)
downloadFreeBSD-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/token.l')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud