Skip to content

-Wextra cleanups

Simon Horman kexec 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest27 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27Mark unused parametersinclude/unused.h kexec/arch/arm/kexec-arm.c kexec/arch/arm/kexec-elf-rel-arm.c +31 more+89 -600 replies
2/27Remove unused parameters from build_mem() and related functionskexec/kexec-elf.c+10 -140 replies
3/27sh: make zImage_head32() statickexec/arch/sh/kexec-zImage-sh.c+1 -10 replies
4/27sh: Remove unused len parameter from zImage_head32()kexec/arch/sh/kexec-zImage-sh.c+3 -30 replies
5/27i386: Remove unused kexec_flags parameter from setup_edd_info()kexec/arch/i386/x86-linux-setup.c+2 -30 replies
6/27ia64: Remove unused info parameter from {move, update}_loaded_segments()kexec/arch/ia64/kexec-elf-ia64.c kexec/arch/ia64/kexec-ia64.c kexec/arch/ia64/kexec-ia64.h+7 -90 replies
7/27ia64: Remove unused info parameter from add_loaded_segments_info()kexec/arch/ia64/crashdump-ia64.c+2 -30 replies
8/27ia64: Remove unused range parameter from get_crash_memory_ranges()kexec/arch/ia64/crashdump-ia64.c+2 -20 replies
9/27Remove some unused variableskexec/arch/arm/kexec-arm.c kexec/arch/ia64/crashdump-ia64.c+0 -40 replies
10/27Use %llx to format mem_max as it is an unsigned long longkexec/arch/i386/crashdump-x86.c+3 -20 replies
11/27ppc: memory_range global is only used in conjunction with WITH_GAMECUBEkexec/arch/ppc/kexec-ppc.c+2 -00 replies
12/27Avoid possible overflows from signed/unsigned comparisonskdump/kdump.c kexec/arch/i386/crashdump-x86.c kexec/arch/i386/kexec-multiboot-x86.c +14 more+48 -350 replies
13/27Use casts to avoid ambiguity when comparing off_t and size_tkexec/arch/arm/kexec-uImage-arm.c kexec/arch/i386/kexec-beoboot-x86.c kexec/arch/i386/kexec-bzImage.c +4 more+19 -150 replies
14/27unsigned values are always at least 0kexec/arch/i386/crashdump-x86.c kexec/arch/x86_64/crashdump-x86_64.c+2 -20 replies
15/27Cast when making signed/unsigned comparison in locate_hole()kexec/kexec.c+1 -10 replies
16/27Use C99 initialiserskexec/arch/arm/kexec-arm.c kexec/arch/i386/crashdump-x86.c kexec/arch/ia64/kexec-ia64.c +7 more+12 -120 replies
17/27x86_64: initialise temp_region in exclude_region() and delete_memmap()kexec/arch/x86_64/crashdump-x86_64.c+2 -20 replies
18/27Make purgatory a signed char bufferkexec/arch/i386/kexec-bzImage.c kexec/arch/i386/kexec-elf-x86.c kexec/arch/i386/kexec-multiboot-x86.c +3 more+7 -70 replies
19/27Consistently use signed char buffers throughoutkexec/arch/i386/kexec-bzImage.c kexec/arch/i386/kexec-elf-x86.c kexec/arch/i386/x86-linux-setup.c +4 more+10 -110 replies
20/27Cast 64bit pointer to a 64bit int then a 32bit intkexec/arch/ppc64/kexec-elf-rel-ppc64.c+1 -10 replies
21/27ia64: move_loaded_segments: handle no matching regionkexec/arch/ia64/kexec-elf-ia64.c+5 -10 replies
22/27Dont discard the const qualifier of proc_iomem()kexec/arch/s390/kexec-s390.c+1 -10 replies
23/27sh: Use size_t for zero_page_size parameter of kexec_sh_setup_zero_page()kexec/arch/sh/kexec-sh.c kexec/arch/sh/kexec-sh.h kexec/arch/sh/kexec-zImage-sh.c+4 -40 replies
24/27sh: netbsd_booter extern qualifier should come firstkexec/arch/sh/kexec-netbsd-sh.c+1 -10 replies
25/27arm: Include unistd.h for getpagesize()kexec/arch/arm/kexec-zImage-arm.c+1 -00 replies
26/27arm: Initialise initrd_start in zImage_arm_load()kexec/arch/arm/kexec-zImage-arm.c+1 -10 replies
27/27cris: cast trampoline_basekexec/arch/cris/kexec-elf-cris.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 00/27] -Wextra cleanups

These patches clean up the code so that it compiles cleanly with -Wextra on all architectures except CRIS. The compiler that I have for CRIS doesn't support -Wextra.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec