diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-27 17:30:41 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-05-01 23:16:29 +0300 |
commit | 67fd38973513c341c84654ae2f819089b840a39b (patch) | |
tree | 46f67f6537d099db31c35a660713e86d816f8c8c /include | |
parent | 6abccd1bfee49e491095772fd5aa9e96d915ae52 (diff) | |
download | linux-67fd38973513c341c84654ae2f819089b840a39b.tar.xz |
block, dax: use correct format string in bdev_dax_supported
The new message has an incorrect format string, causing a warning in some
configurations:
fs/block_dev.c: In function 'bdev_dax_supported':
fs/block_dev.c:779:5: error: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Werror=format=]
"error: dax access failed (%d)", len);
This changes it to use the correct %ld instead of %d.
Fixes: 2093f2e9dfec ("block, dax: convert bdev_dax_supported() to dax_direct_access()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions