We missed the two patches during the mlnx-ofa_kernel driver upgradtion.
We encouter the following error during load the module mlx_compat
when IBT(Indirect Branch Tracking) feature is enabled for CPU and
CONFIG_X86_KERNEL_IBT is enable by the kernel config file.
"Missing ENDBR: __init_backport+0x0/0xff0 [mlx_compat]"
Verification:
* An ISO image can be built with this commit applied to a repo
project of StarlingX's kernel 6.12.18 branch.
* The ISO image can be installed to a R760 server without
"Missing ENDBR: __init_backport+0x0/0xff0 [mlx_compat]" in dmesg log.
The issue can be repduced in the lab without the fix.
Closes-Bug: 2110611
Change-Id: I017ee18055368614d404f10ad5d4d05a6b842ad0
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>