diff options
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | 2016-10-29 13:28:52 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-11-12 05:37:42 +0100 |
commit | 2d9a02744f5a2e8325fc0c3e5533593261cead0a (patch) | |
tree | 82353ac815c7fd2990b8a10143fa861ff764f0de /drivers/dax/pmem.c | |
parent | libnvdimm: check and clear poison before writing to pmem (diff) | |
download | linux-2d9a02744f5a2e8325fc0c3e5533593261cead0a.tar.xz linux-2d9a02744f5a2e8325fc0c3e5533593261cead0a.zip |
nvdimm: use the right length of "pmem"
In order to test that the name of a resource begins with "pmem", call
strncmp() with 4 as length instead of 3 to match the whole prefix.
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/pmem.c')
0 files changed, 0 insertions, 0 deletions