diff options
author | Aneesh Kumar K.V <[email protected]> | 2019-09-05 21:16:02 +0530 |
---|---|---|
committer | Dan Williams <[email protected]> | 2019-09-05 16:11:14 -0700 |
commit | 5b26db95fee3f1ce0d096b2de0ac6f3716171093 (patch) | |
tree | d927139658fccca825a0448052d32693dac766e6 /lib/memory-notifier-error-inject.c | |
parent | 047e0eff1f150220d615c35c36af225f3e1ed057 (diff) |
libnvdimm: Use PAGE_SIZE instead of SZ_4K for align check
Architectures have different page size than 4K. Use the PAGE_SIZE
to make sure ranges are correctly aligned.
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions