[PATCH v1 0/4] x86: Clean up and fix to avoid compiler warnings

Andy Shevchenko andriy.shevchenko at linux.intel.com
Sat Oct 5 21:11:56 CEST 2024


Some fixes to avoid compiler warnings with `make W=1`. The idea to
continue this for at least some of the x86 related code.

Andy Shevchenko (4):
  x86: cpu: Use default print_cpuinfo() for all
  x86: cpu: Mark a few functions static
  x86: cpu: Add a few prototypes to the header file
  x86: cpu: Add missing header inclusion

 arch/x86/cpu/broadwell/cpu.c                 | 12 ------------
 arch/x86/cpu/coreboot/coreboot.c             |  5 -----
 arch/x86/cpu/cpu.c                           |  8 ++++++--
 arch/x86/cpu/cpu_x86.c                       |  1 +
 arch/x86/cpu/efi/app.c                       |  5 -----
 arch/x86/cpu/efi/payload.c                   |  5 -----
 arch/x86/cpu/i386/interrupt.c                |  2 +-
 arch/x86/cpu/ivybridge/cpu.c                 | 14 --------------
 arch/x86/cpu/mtrr.c                          |  2 +-
 arch/x86/cpu/qemu/qemu.c                     |  6 ------
 arch/x86/cpu/quark/quark.c                   |  6 ------
 arch/x86/cpu/slimbootloader/slimbootloader.c |  5 -----
 arch/x86/cpu/tangier/tangier.c               |  5 -----
 arch/x86/cpu/x86_64/misc.c                   |  5 -----
 arch/x86/include/asm/cpu.h                   |  7 +++++++
 arch/x86/include/asm/u-boot-x86.h            |  1 -
 arch/x86/lib/fsp/fsp_common.c                |  6 ------
 17 files changed, 16 insertions(+), 79 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac



More information about the U-Boot mailing list