summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHuaisheng Ye <yehs1@lenovo.com>2018-07-30 09:15:46 +0200
committerDave Jiang <dave.jiang@intel.com>2018-07-30 18:39:28 +0200
commite0b401e3fef0f81fd87434793db1adb0d7568058 (patch)
treec0f68108b5d37ee18f15b4dfb0b48f234917808c /drivers/acpi
parenttools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access() (diff)
downloadlinux-e0b401e3fef0f81fd87434793db1adb0d7568058.tar.xz
linux-e0b401e3fef0f81fd87434793db1adb0d7568058.zip
dax/super: Do not request a pointer kaddr when not required
Function __bdev_dax_supported doesn't need to get local pointer kaddr from direct_access. Using NULL instead of having to pass in a useless local pointer that caller then just throw away. Signed-off-by: Huaisheng Ye <yehs1@lenovo.com> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions