Skip to content
Commit f6692213 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mimi Zohar
Browse files

integrity: Make function integrity_add_key() static



The sparse tool complains as follows:

security/integrity/digsig.c:146:12: warning:
 symbol 'integrity_add_key' was not declared. Should it be static?

This function is not used outside of digsig.c, so this
commit marks it static.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 60740acc ("integrity: Load certs to the platform keyring")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Reviewed-by: default avatarNayna Jain <nayna@linux.ibm.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent cccb0efd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment