Skip to contentSkip to conversation

module: Remove double spaces in module verification taint message

PATCH In review Marcel Holtmann 2 participants 2 messages Dec 22, 2014 – Dec 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module: Remove double spaces in module verification taint message

The warning message when loading modules with a wrong signature has two spaces in it:

"module verification failed: signature and/or required key missing"

---
 kernel/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/module.c +1 -1
index e52a8739361a..57f786bae64d 100644
@@ -3242,7 +3242,7 @@ static int load_module(struct load_info *info, const char __user *uargs,
 	mod->sig_ok = info->sig_ok;
 	if (!mod->sig_ok) {
 		pr_notice_once("%s: module verification failed: signature "
-			       "and/or  required key missing - tainting "
+			       "and/or required key missing - tainting "
 			       "kernel\n", mod->name);
 		add_taint_module(mod, TAINT_UNSIGNED_MODULE, LOCKDEP_STILL_OK);
 	}
Signature · 1 line
2.1.0
#1 lore raw
Quoted 6 lines · Marcel Holtmann

The warning message when loading modules with a wrong signature has two spaces in it:

"module verification failed: signature and/or required key missing"

Rather trivial, but I've applied it.

Thanks,
Rusty.

Quoted 25 lines
---
 kernel/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/module.c +1 -1
index e52a8739361a..57f786bae64d 100644
@@ -3242,7 +3242,7 @@ static int load_module(struct load_info *info, const char __user *uargs,
 	mod->sig_ok = info->sig_ok;
 	if (!mod->sig_ok) {
 		pr_notice_once("%s: module verification failed: signature "
-			       "and/or  required key missing - tainting "
+			       "and/or required key missing - tainting "
 			       "kernel\n", mod->name);
 		add_taint_module(mod, TAINT_UNSIGNED_MODULE, LOCKDEP_STILL_OK);
 	}
Signature · 7 lines
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/