Skip to content
Commit af7d9f0c authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarDave Jiang <dave.jiang@intel.com>
Fixes: 315c5625

 ("libnvdimm, pfn: add 'align' attribute, default to HPAGE_SIZE")
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 3a71b3c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment