Content-Type: multipart/mixed; boundary="===============3634070239314826076==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] LSM: security_read_selinux_policy() can be static Date: Sat, 18 Jul 2020 23:31:36 +0800 Message-ID: <20200718153136.GA11500@64f1e31015ef> In-Reply-To: <20200717222819.26198-5-nramas@linux.microsoft.com> List-Id: --===============3634070239314826076== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- services.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index 79a6b462f1fe9..4374c75f91a21 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c @@ -3734,8 +3734,8 @@ static int security_read_policy_len(struct selinux_st= ate *state, size_t *len) * @data: binary policy data * @len: length of data in bytes */ -int security_read_selinux_policy(struct selinux_state *state, - void **data, size_t *len) +static int security_read_selinux_policy(struct selinux_state *state, + void **data, size_t *len) { struct policydb *policydb =3D &state->ss->policydb; int rc; --===============3634070239314826076==--