diff options
author | Helge Deller <deller@gmx.de> | 2019-10-21 22:38:29 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-11-01 21:42:58 +0100 |
commit | f973cce0e4022fa8c969ca5b0c71559125382eb2 (patch) | |
tree | 0557613c5003c6d7b448180ff5586e529c323948 /arch/parisc | |
parent | parisc: Do not hardcode registers in checksum functions (diff) | |
download | linux-f973cce0e4022fa8c969ca5b0c71559125382eb2.tar.xz linux-f973cce0e4022fa8c969ca5b0c71559125382eb2.zip |
kexec: Fix pointer-to-int-cast warnings
Fix two pointer-to-int-cast warnings when compiling for the 32-bit parisc
platform:
kernel/kexec_file.c: In function ‘crash_prepare_elf64_headers’:
kernel/kexec_file.c:1307:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
phdr->p_vaddr = (Elf64_Addr)_text;
^
kernel/kexec_file.c:1324:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
phdr->p_vaddr = (unsigned long long) __va(mstart);
^
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions