ppc64: Fix minor build warnings
Subsystems (2)
PATCH 1/1 ppc64: Fix minor build warnings
ppc64 target compiles warning free now.
Cc Sourabh Jain <[email protected]>
Signed-off-by Shivang Upadhyay <[email protected]>
--- kexec/arch/ppc64/fdt.c | 2 +- kexec/arch/ppc64/kexec-elf-rel-ppc64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
kexec/arch/ppc64/fdt.c +1 -1
@@ -140,7 +140,7 @@ static int get_threads_per_cpu(char *path)* * Returns total number of present CPUs on success, -1 on failure. */ -static int get_present_cpus () +static int get_present_cpus (void ) {char *range;char buf[1024 ];
kexec/arch/ppc64/kexec-elf-rel-ppc64.c +1 -1
@@ -104,7 +104,7 @@ void machine_apply_elf_rel(struct mem_ehdr *ehdr, struct mem_sym *sym,break ;case R_PPC64_REL32 : - *(uint32_t *)location = value - (uint32_t )location; + *(uint32_t *)location = value - (uintptr_t )location;break ;case R_PPC64_TOC :
Signature · 1 line
2.51.0
Simon Horman
AppliedQuoted 4 lines · Shivang Upadhyay
ppc64 target compiles warning free now.
Cc Sourabh Jain <[email protected]>Signed-off-by Shivang Upadhyay <[email protected]>
Thanks, applied.
- ppc64: Fix minor build warnings
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=1633ed5ee80e