ima: Remove semicolon at the end of ima_get_binary_runtime_size()
authorRoberto Sassu <roberto.sassu@huawei.com>
Fri, 4 Sep 2020 09:23:29 +0000 (11:23 +0200)
committerMimi Zohar <zohar@linux.ibm.com>
Tue, 15 Sep 2020 17:47:41 +0000 (13:47 -0400)
This patch removes the unnecessary semicolon at the end of
ima_get_binary_runtime_size().

Cc: stable@vger.kernel.org
Fixes: d158847ae89a2 ("ima: maintain memory size needed for serializing the measurement list")
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_queue.c

index fb4ec27..c096ef8 100644 (file)
@@ -133,7 +133,7 @@ unsigned long ima_get_binary_runtime_size(void)
                return ULONG_MAX;
        else
                return binary_runtime_size + sizeof(struct ima_kexec_hdr);
-};
+}
 
 static int ima_pcr_extend(struct tpm_digest *digests_arg, int pcr)
 {