aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2023-07-22 12:38:49 +0000
committerPalmer Dabbelt <[email protected]>2023-09-06 02:49:30 +0000
commit3c35d1a03c8b864f08088d51e121aa7c0067b146 (patch)
treef3e0f821e70320ef66fb322dda8bb995ed20fc0c /tools/perf/util/c++/clang.cpp
parentarm64: libstub: Move KASLR handling functions to kaslr.c (diff)
downloadkernel-3c35d1a03c8b864f08088d51e121aa7c0067b146.tar.gz
kernel-3c35d1a03c8b864f08088d51e121aa7c0067b146.zip
libstub: Fix compilation warning for rv32
Fix the following warning which appears when compiled for rv32 by using unsigned long type instead of u64. ../drivers/firmware/efi/libstub/efi-stub-helper.c: In function 'efi_kaslr_relocate_kernel': ../drivers/firmware/efi/libstub/efi-stub-helper.c:846:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 846 | (u64)_end < EFI_ALLOC_LIMIT) { Signed-off-by: Alexandre Ghiti <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Tested-by: Conor Dooley <[email protected]> Tested-by: Song Shuai <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> Tested-by: Sami Tolvanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions