diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-12-10 08:12:05 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-12-10 08:12:05 -0800 |
commit | af7d9f0c57941b465043681cb5c3410f7f3f1a41 (patch) | |
tree | 93e5054fb054b777207854ae1057359d8427cb3c /drivers/nvdimm/claim.c | |
parent | 3a71b3c8946fd44cd2599d9e87ac8f90c71318e1 (diff) | |
download | lwn-af7d9f0c57941b465043681cb5c3410f7f3f1a41.tar.gz lwn-af7d9f0c57941b465043681cb5c3410f7f3f1a41.zip |
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>
Diffstat (limited to 'drivers/nvdimm/claim.c')
0 files changed, 0 insertions, 0 deletions