diff options
| author | Ian Abbott <[email protected]> | 2019-04-17 15:39:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-04-19 14:33:41 +0200 |
| commit | 77c21b626be5b6b30ca6f76ccd5ba1d14a8278a9 (patch) | |
| tree | c54dbfaf09078a152b507ef200f8fbc4da9898f8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | f439696c81fcfe70ad46554fbec1c851bab9345a (diff) | |
staging: comedi: Add lockdep_assert_held() calls for dev->mutex
Lots of functions in the core comedi module expect the mutex in `struct
comedi_device` to be held, so add calls to `lockdep_assert_held()` to
check and document that. An unusual case is the calls to
`lockdep_assert_held()` after successful return from
`comedi_alloc_board_minor()` which allocates a `struct comedi_device`
and returns with its mutex locked.
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions