summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/region_devs.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-04-03 22:52:14 +0200
committerDan Williams <dan.j.williams@intel.com>2017-04-13 06:56:41 +0200
commit3c87f372695592bf86e9dab7b1ec7d439fda577b (patch)
tree9e230c6b46be7590278ed2c472afc23895d3c155 /drivers/nvdimm/region_devs.c
parentacpi, nfit: remove unnecessary newline (diff)
downloadlinux-3c87f372695592bf86e9dab7b1ec7d439fda577b.tar.xz
linux-3c87f372695592bf86e9dab7b1ec7d439fda577b.zip
acpi, nfit: fix acpi_get_table leak
Calls to acpi_get_table() must be paired with acpi_put_table() to undo the mapping established by acpi_tb_acquire_table(). It turns out this has no effect in practice since the NFIT will already be mapped to support the /sys/firmware/acpi/tables/NFIT attribute in sysfs. Fixes: 6b11d1d67713 ("ACPI / osl: Remove acpi_get_table_with_size()/early_acpi_os_unmap_memory() users") Cc: Lv Zheng <lv.zheng@intel.com> Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/region_devs.c')
0 files changed, 0 insertions, 0 deletions