diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-12-23 10:10:40 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-24 10:40:19 +0100 |
commit | c1c15b65ec30275575dac9322aae607075769fbc (patch) | |
tree | d7e48801291eb6d3f70b05e6e8ffa2fe75ebae3c /drivers/net/rrunner.c | |
parent | 67bac792cd0c05b4b6e0393c32605b028b8dd533 (diff) |
x86: PAT: fix address types in track_pfn_vma_new()
Impact: cleanup, fix warning
This warning:
arch/x86/mm/pat.c: In function track_pfn_vma_copy:
arch/x86/mm/pat.c:701: warning: passing argument 5 of follow_phys from incompatible pointer type
Triggers because physical addresses are resource_size_t, not u64.
This really matters when calling an interface like follow_phys() which
takes a pointer to a physical address -- although on x86, being
littleendian, it would generally work anyway as long as the memory region
wasn't completely uninitialized.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/net/rrunner.c')
0 files changed, 0 insertions, 0 deletions