diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-09-08 09:36:57 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-09-09 11:31:39 -0700 |
commit | 04c3c982fcc0151ed3574d7ae4f1e62278054d72 (patch) | |
tree | 076c4cdd7513c75738786d3fe0e94aeb2df2deec /lib/libcrc32c.c | |
parent | 86652d2eb347080a991968c9d68708dc010ac56c (diff) | |
download | linux-04c3c982fcc0151ed3574d7ae4f1e62278054d72.tar.bz2 |
libnvdimm, btt: fix format string warnings
Fix format warnings (seen on i386) in nvdimm/btt.c:
../drivers/nvdimm/btt.c: In function ‘btt_map_init’:
../drivers/nvdimm/btt.c:430:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Wformat=]
dev_WARN_ONCE(to_dev(arena), size < 512,
^
../drivers/nvdimm/btt.c: In function ‘btt_log_init’:
../drivers/nvdimm/btt.c:474:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Wformat=]
dev_WARN_ONCE(to_dev(arena), size < 512,
^
Fixes: 86652d2eb347 ("libnvdimm, btt: clean up warning and error messages")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions