This series removes some unused variables in x86/boot, and add the
"-Wall" flag to Makefile, which is the old problem of x86 not sharing
makefiles.
Changes since v2:
- Add "frame-address" flag and "-std=gnu11" to
x86/boot/compressed/Makefile to fix warnings when "-Wall" flag added.
- Declare the variable "i" within the for loop to reslove unused
variable warning.
- Delete __efi_get_rsdp_addr function when CONFIG_EFI is disabled to
resolve unused function warning.
v2 at:
https://lore.kernel.org/all/20220927081512.2456624-1-lizetao1@xxxxxxxxxx/
Changes since v1:
- Add "-Wall" flag to x86/boot/compressed/Makefile
- Remove unused variables "et" in efi_get_system_table() and "ret" in
efi_get_conf_table()
- Remove unused variables "ret" in __efi_get_rsdp_addr() and
"nr_tables" in efi_get_rsdp_addr()
v1 at:
https://lore.kernel.org/all/20220923113209.3046960-1-lizetao1@xxxxxxxxxx/
Li Zetao (2):
x86/boot/compressed: Add "-Wall" flag to Makefile
x86/boot: Remove unused variables
arch/x86/boot/compressed/Makefile | 3 ++-
arch/x86/boot/compressed/acpi.c | 7 +++----
arch/x86/boot/compressed/efi.c | 2 --
arch/x86/boot/compressed/kaslr.c | 3 +--
arch/x86/boot/compressed/sev.c | 1 -
5 files changed, 6 insertions(+), 10 deletions(-)