summaryrefslogtreecommitdiff
path: root/arch/um/kernel
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2022-11-22 11:07:32 +0100
committerRichard Weinberger <richard@nod.at>2023-02-01 22:11:28 +0100
commitd119595f873e4cf4c7a03aa9ac00d960772487e1 (patch)
tree9c99bf8432c18a6064b0ce6fd2f04e28a68be1a4 /arch/um/kernel
parent8f88c73afe481f93d40801596927e8c0047b6d96 (diff)
um: Switch printk calls to adhere to correct coding style
This means having the string literal in one line and using __func__ where appropriate. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r--arch/um/kernel/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c
index 58938d75871a..827a0d3fa589 100644
--- a/arch/um/kernel/exec.c
+++ b/arch/um/kernel/exec.c
@@ -29,8 +29,8 @@ void flush_thread(void)
ret = unmap(&current->mm->context.id, 0, TASK_SIZE, 1, &data);
if (ret) {
- printk(KERN_ERR "flush_thread - clearing address space failed, "
- "err = %d\n", ret);
+ printk(KERN_ERR "%s - clearing address space failed, err = %d\n",
+ __func__, ret);
force_sig(SIGKILL);
}
get_safe_registers(current_pt_regs()->regs.gp,