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: NHulk Robot <hulkci@huawei.com> Fixes: 60740acc ("integrity: Load certs to the platform keyring") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Reviewed-by: NKees Cook <keescook@chromium.org> Reviewed-by: NNayna Jain <nayna@linux.ibm.com> Signed-off-by: NMimi Zohar <zohar@linux.ibm.com>
Showing
想要评论请 注册 或 登录