From: Xie XiuQi xiexiuqi@huawei.com
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8LQBH
--------------------------------
This option enables more stringent kabi checks. Those must be disable in case of a debug-build because they allow to change struct sizes.
Signed-off-by: Xie XiuQi xiexiuqi@huawei.com Reviewed-by: Cheng Jian cj.chengjian@huawei.com Signed-off-by: Jialin Zhang zhangjialin11@huawei.com --- Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/Kconfig b/Kconfig index 745bc773f567..bb409bb587b0 100644 --- a/Kconfig +++ b/Kconfig @@ -30,3 +30,10 @@ source "lib/Kconfig" source "lib/Kconfig.debug"
source "Documentation/Kconfig" + +config KABI_SIZE_ALIGN_CHECKS + bool "Enables more stringent kabi checks in the macros" + default y + help + This option enables more stringent kabi checks. Those must be disable + in case of a debug-build because they allow to change struct sizes.