Content-Type: multipart/mixed; boundary="===============7988159137737943588==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] ima: imans_cache_init() can be static Date: Wed, 01 Dec 2021 06:42:17 +0800 Message-ID: <20211130224217.GA5845@aa8ed7a335e3> In-Reply-To: <20211130160654.1418231-2-stefanb@linux.ibm.com> List-Id: --===============7988159137737943588== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable security/integrity/ima/ima_ns.c:77:12: warning: symbol 'imans_cache_init' w= as not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- ima_ns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/integrity/ima/ima_ns.c b/security/integrity/ima/ima_n= s.c index fa8069acc2174..9a782c08c34ec 100644 --- a/security/integrity/ima/ima_ns.c +++ b/security/integrity/ima/ima_ns.c @@ -74,7 +74,7 @@ void free_ima_ns(struct kref *kref) destroy_ima_ns(ns); } = -int __init imans_cache_init(void) +static int __init imans_cache_init(void) { imans_cachep =3D KMEM_CACHE(ima_namespace, SLAB_PANIC); return 0; --===============7988159137737943588==--