diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2019-04-17 17:39:29 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 15:33:41 +0300 |
| commit | 77c21b626be5b6b30ca6f76ccd5ba1d14a8278a9 (patch) | |
| tree | c54dbfaf09078a152b507ef200f8fbc4da9898f8 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f439696c81fcfe70ad46554fbec1c851bab9345a (diff) | |
| download | linux-77c21b626be5b6b30ca6f76ccd5ba1d14a8278a9.tar.xz | |
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 <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
