diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-12-15 20:04:31 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-12-15 20:04:31 -0800 |
commit | 9cf8bd529c6ba81402ebf6b7a56307b0787e4f93 (patch) | |
tree | f53a27f54dbdec467905608fa1585a3e5b7b6e67 /drivers/pcmcia/rsrc_nonstatic.c | |
parent | af7d9f0c57941b465043681cb5c3410f7f3f1a41 (diff) |
libnvdimm: replace mutex_is_locked() warnings with lockdep_assert_held
For warnings that should only ever trigger during development and
testing replace WARN statements with lockdep_assert_held. The lockdep
pattern is prevalent, and these paths are are well covered by libnvdimm
unit tests.
Reported-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/pcmcia/rsrc_nonstatic.c')
0 files changed, 0 insertions, 0 deletions