Skip to content

redhat: Fix existing compilation warnings & enable CONFIG_WERROR for x86-64

Waiman Long requested to merge llong1/centos-stream-9:bz2184097_warn into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2184097
MR: !2298 (merged)
Tested: All the compilation warnings are gone with this patch series applied and both regular and debug x86-64 were built succcessfully without problem.

The purpose of this MR is to fix existing compilation warning when building the kernel. It does pull in additional upstream commits to minimize merge conflicts.

The last 2 patches enable CONFIG_WERROR for x86-64 arch for now. The 3 RHEL-only patches before that fix compilation warnings and other issues caused by earlier RHEL commits.

Signed-off-by: Waiman Long longman@redhat.com

Edited by Waiman Long

Merge request reports