commit | 630a2ef354bb569e84a874ec59f45f82c6c5ff04 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Sat Dec 10 08:12:05 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jan 09 08:32:25 2017 +0100 |
tree | bdb7fb61f930a3a219f1908adabc826073d40da8 | |
parent | 6838ac125324b91eeab5ccaf99e4a9bd1f8a7895 [diff] |
libnvdimm, pfn: fix align attribute commit af7d9f0c57941b465043681cb5c3410f7f3f1a41 upstream. Fix the format specifier so that the attribute can be parsed correctly. Currently it returns decimal 1000 for a 4096-byte alignment. Reported-by: Dave Jiang <dave.jiang@intel.com> Fixes: 315c562536c4 ("libnvdimm, pfn: add 'align' attribute, default to HPAGE_SIZE") Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>