commit | af7d9f0c57941b465043681cb5c3410f7f3f1a41 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Sat Dec 10 08:12:05 2016 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Sat Dec 10 08:12:05 2016 -0800 |
tree | 93e5054fb054b777207854ae1057359d8427cb3c | |
parent | 3a71b3c8946fd44cd2599d9e87ac8f90c71318e1 [diff] |
libnvdimm, pfn: fix align attribute Fix the format specifier so that the attribute can be parsed correctly. Currently it returns decimal 1000 for a 4096-byte alignment. Cc: <stable@vger.kernel.org> 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>