summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/pmem.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-12-16 05:04:31 +0100
committerDan Williams <dan.j.williams@intel.com>2016-12-16 05:04:31 +0100
commit9cf8bd529c6ba81402ebf6b7a56307b0787e4f93 (patch)
treef53a27f54dbdec467905608fa1585a3e5b7b6e67 /drivers/nvdimm/pmem.c
parentlibnvdimm, pfn: fix align attribute (diff)
downloadlinux-9cf8bd529c6ba81402ebf6b7a56307b0787e4f93.tar.xz
linux-9cf8bd529c6ba81402ebf6b7a56307b0787e4f93.zip
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/nvdimm/pmem.c')
0 files changed, 0 insertions, 0 deletions