Skip to content

x86: Clean up and fix to avoid compiler warnings

Andy Shevchenko u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: cpu: Use default print_cpuinfo() for allarch/x86/cpu/broadwell/cpu.c arch/x86/cpu/coreboot/coreboot.c arch/x86/cpu/cpu.c +10 more+5 -764 replies
2/4x86: cpu: Mark a few functions staticarch/x86/cpu/cpu.c arch/x86/cpu/i386/interrupt.c arch/x86/cpu/mtrr.c+3 -32 replies
3/4x86: cpu: Add a few prototypes to the header filearch/x86/include/asm/cpu.h+7 -07 replies
4/4x86: cpu: Add missing header inclusionarch/x86/cpu/cpu_x86.c+1 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/4R-b
2/4R-b R-b
3/4R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac