diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-01-22 18:43:28 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-01-31 18:10:19 +0100 |
commit | 76e9f0ee52b0be5761e29847e0ef01f23f24f1df (patch) | |
tree | 0efd20fa750dc2caf479fd0164493d5b50653413 /fs | |
parent | mm: fix pfn_t to page conversion in vm_insert_mixed (diff) | |
download | linux-76e9f0ee52b0be5761e29847e0ef01f23f24f1df.tar.xz linux-76e9f0ee52b0be5761e29847e0ef01f23f24f1df.zip |
phys_to_pfn_t: use phys_addr_t
A dma_addr_t is potentially smaller than a phys_addr_t on some archs.
Don't truncate the address when doing the pfn conversion.
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reported-by: Matthew Wilcox <willy@linux.intel.com>
[willy: fix pfn_t_to_phys as well]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions