diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-01 09:12:19 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-01 17:03:57 +0200 |
commit | 4c1eaa2344fb26bb5e936fb4d8ee307343ea0089 (patch) | |
tree | 17eae1ec30e69ba101c72e1d7c27f45c7a87928a /drivers/block/drbd | |
parent | drivers/block/pmem: Add a driver for persistent memory (diff) | |
download | linux-4c1eaa2344fb26bb5e936fb4d8ee307343ea0089.tar.xz linux-4c1eaa2344fb26bb5e936fb4d8ee307343ea0089.zip |
drivers/block/pmem: Fix 32-bit build warning in pmem_alloc()
Fix:
drivers/block/pmem.c: In function ‘pmem_alloc’:
drivers/block/pmem.c:138:7: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘phys_addr_t’ [-Wformat=]
By using the proper %pa format specifier we use for 'phys_addr_t' arguments.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Boaz Harrosh <boaz@plexistor.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jens Axboe <axboe@fb.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matthew Wilcox <willy@linux.intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-nvdimm@ml01.01.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/block/drbd')
0 files changed, 0 insertions, 0 deletions