Skip to content

Add -Wunused to x86 boot module and fix build warning

Zhenzhong Duan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/boot: Add -Wunused to KBUILD_CFLAGSarch/x86/boot/compressed/Makefile+1 -10 replies
2/2x86/boot/KASLR: Fix unused variable warningarch/x86/boot/compressed/kaslr.c+1 -12 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Add -Wunused to x86 boot module and fix build warning

[PATCH 1/2] is based on previous discuss in link below
https://lore.kernel.org/patchwork/patch/1175001/#1379873

[PATCH 2/2] drop true/false change per Thomas suggestion.

This two patches is a series, the warning in patch2 will not trigger without patch1 by default.

Zhenzhong Duan (2):
x86/boot: Add -Wunused to KBUILD_CFLAGS
x86/boot/KASLR: Fix unused variable warning

 arch/x86/boot/compressed/Makefile | 2 +-
 arch/x86/boot/compressed/kaslr.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1