When CONFIG_WERROR is set, CONFIG_LD_ORPHAN_WARN_LEVEL of "error" will fail for kernels built with KCFLAGS="-ffunction-sections" due to all the "unplaced orphan section .text." errors. This MR temporarily demotes ld --orphan-handling to a mere warning so that kpatch-build may complete.
When CONFIG_WERROR is set, CONFIG_LD_ORPHAN_WARN_LEVEL of "error" will fail for kernels built with KCFLAGS="-ffunction-sections" due to all the "unplaced orphan section .text. " errors. This MR temporarily demotes ld --orphan-handling to a mere warning so that kpatch-build may complete.