summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2019-04-17 17:39:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-19 15:33:41 +0300
commitf44303e85268cc6cd6b1e545d3845f1d81cb6728 (patch)
treee907ba625817cfe87abb9733537d50ec147c0679 /tools/perf/scripts/python/export-to-sqlite.py
parent77c21b626be5b6b30ca6f76ccd5ba1d14a8278a9 (diff)
downloadlinux-f44303e85268cc6cd6b1e545d3845f1d81cb6728.tar.xz
staging: comedi: Add lockdep_assert_held() calls for dev->attach_lock
There are not a lot of functions in the core comedi module that require the R/W semaphore `attach_lock` in `struct comedi_device` to be locked (although there are a few functions that require at least one of `attach_lock` and `mutex` to be locked). One function that requires the caller to lock `attach_lock` is `comedi_device_detach_cleanup()` so add a call to `lockdep_assert_held()` to check and document that. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions