aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2017-09-08 09:36:57 -0700
committerDan Williams <[email protected]>2017-09-09 11:31:39 -0700
commit04c3c982fcc0151ed3574d7ae4f1e62278054d72 (patch)
tree076c4cdd7513c75738786d3fe0e94aeb2df2deec /lib/memory-notifier-error-inject.c
parent86652d2eb347080a991968c9d68708dc010ac56c (diff)
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 <[email protected]> Reported-by: kbuild test robot <[email protected]> Cc: Vishal Verma <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions