evm: Fix build warnings
authorRoberto Sassu <roberto.sassu@huawei.com>
Tue, 6 Jun 2023 07:41:12 +0000 (09:41 +0200)
committerMimi Zohar <zohar@linux.ibm.com>
Tue, 6 Jun 2023 12:51:11 +0000 (08:51 -0400)
commit996e0a97ebd7b11cb785794e2a83c20c1add9d92
tree2af84874f8ae33a55526b6cac136b36038c7301a
parentb1de86d4248b273cb12c4cd7d20c08d459519f7d
evm: Fix build warnings

Fix build warnings (function parameters description) for
evm_read_protected_xattrs(), evm_set_key() and evm_verifyxattr().

Fixes: 7626676320f3 ("evm: provide a function to set the EVM key from the kernel") # v4.5+
Fixes: 8314b6732ae4 ("ima: Define new template fields xattrnames, xattrlengths and xattrvalues") # v5.14+
Fixes: 2960e6cb5f7c ("evm: additional parameter to pass integrity cache entry 'iint'") # v3.2+
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/evm/evm_crypto.c
security/integrity/evm/evm_main.c