Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Dan Williams <[email protected]>
- Loading branch information