1
0
Fork 0
alistair23-linux/drivers/dax
Dan Williams 4c7d4dd210 dax: Fix alloc_dax_region() compile warning
[ Upstream commit 460370ab20 ]

PFN flags are (unsigned long long), fix the alloc_dax_region() calling
convention to fix warnings of the form:

>> include/linux/pfn_t.h:18:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
    #define PFN_DEV (1ULL << (BITS_PER_LONG_LONG - 3))

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:15 +02:00
..
pmem memremap: move dev_pagemap callbacks into a separate structure 2019-07-02 14:32:44 -03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile device-dax: "Hotplug" persistent memory for use like normal RAM 2019-02-28 10:41:23 -08:00
bus.c dax: Fix alloc_dax_region() compile warning 2020-10-01 13:17:15 +02:00
bus.h dax: Fix alloc_dax_region() compile warning 2020-10-01 13:17:15 +02:00
dax-private.h dax: Fix alloc_dax_region() compile warning 2020-10-01 13:17:15 +02:00
device.c device-dax: use the dev_pagemap internal refcount 2019-07-02 14:32:44 -03:00
kmem.c device-dax: don't leak kernel memory to user space after unloading kmem 2020-05-27 17:46:48 +02:00
super.c dm: Call proper helper to determine dax support 2020-09-23 12:40:47 +02:00