]> git.baikalelectronics.ru Git - kernel.git/commit
evm: Use IS_ENABLED to initialize .enabled
authorXiu Jianfeng <xiujianfeng@huawei.com>
Mon, 6 Jun 2022 10:10:42 +0000 (18:10 +0800)
committerMimi Zohar <zohar@linux.ibm.com>
Wed, 13 Jul 2022 14:13:58 +0000 (10:13 -0400)
commit90268676b28cdc9f334155ebe47333a287e53abd
tree5f75a38dfe2f1e9c372f64ed33e70651894b8d5b
parentd9d662ce07ae00e48660ec5d23b05ffeaf57be5b
evm: Use IS_ENABLED to initialize .enabled

Use IS_ENABLED(CONFIG_XXX) instead of #ifdef/#endif statements to
initialize .enabled, minor simplicity improvement.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/evm/evm_main.c