Commit c944a8ea authored by Xie XiuQi's avatar Xie XiuQi Committed by Zheng Zengkai
Browse files

kabi: add KABI_SIZE_ALIGN_CHECKS for more stringent kabi checks

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4K3S5



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: default avatarXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 1e84ee76
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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.