diff options
author | Kees Cook <[email protected]> | 2014-10-01 11:36:32 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2014-10-01 11:41:24 -0700 |
commit | 20cc28882bf4a8c9a2605a9a76a7952e696aaece (patch) | |
tree | 277cee1b9952b434b3bcbe6c84b7b4527d0a96ae /net/lapb/lapb_subr.c | |
parent | fe82dcec644244676d55a1384c958d5f67979adb (diff) |
x86, boot, kaslr: Fix nuisance warning on 32-bit builds
Building 32-bit threw a warning on kASLR enabled builds:
arch/x86/boot/compressed/aslr.c: In function ‘mem_avoid_overlap’:
arch/x86/boot/compressed/aslr.c:198:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
avoid.start = (u64)ptr;
^
This fixes the warning; unsigned long should have been used here.
Signed-off-by: Kees Cook <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions