Skip to contentSkip to conversation

WTF: patch "[PATCH] ima: Remove semicolon at the end of" was seriously submitted to be applied to the 5.9-stable tree?

PATCH [email protected] 1 participant 1 message Oct 31, 2020

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below was submitted to be applied to the 5.9-stable tree.

I fail to see how this patch meets the stable kernel rules as found at Documentation/process/stable-kernel-rules.rst.

I could be totally wrong, and if so, please respond to <[email protected]> and let me know why this patch should be applied. Otherwise, it is now dropped from my patch queues, never to be seen again.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 4be92db3b5667f3a5c874a04635b037dc5e3f373 Mon Sep 17 00:00:00 2001
From: Roberto Sassu <[email protected]>
Date: Fri, 4 Sep 2020 11:23:29 +0200
Subject: [PATCH] ima: Remove semicolon at the end of
ima_get_binary_runtime_size()

This patch removes the unnecessary semicolon at the end of ima_get_binary_runtime_size().

Fixes d158847ae89a2 ("ima: maintain memory size needed for serializing the measurement list")
security/integrity/ima/ima_queue.c +1 -1
index fb4ec270f620..c096ef8945c7 100644
@@ -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)
 {