Skip to content
Snippets Groups Projects
Commit 76e9f0ee authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarMatthew Wilcox <willy@linux.intel.com>
[willy: fix pfn_t_to_phys as well]
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 03fc2da6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment