The kernel fails to load the ko file because the btf information in the ko file is inconsistent.
From: Xin Liu
Date: Thu Sep 21 2023 - 23:49:08 EST
Hi all:
We've had a confusing problem recently. The kfunc is used in the ko and
kfunc is registered when the ko is loaded. Even if the code is not
modified, the ko compiled at different times cannot register kfunc
success on the kernel. It seems that the inconsistency of btf id causes
this problem.
Is there any way we can solve this problem at the moment?