x86/resctrl: Fix spelling in user-visible warning messages
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Aug 2020 07:55:08 +0000 (08:55 +0100)
committerBorislav Petkov <bp@suse.de>
Fri, 4 Sep 2020 23:24:17 +0000 (01:24 +0200)
Fix spelling mistake "Could't" -> "Couldn't" in user-visible warning
messages.

 [ bp: Massage commit message; s/cpu/CPU/g ]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200810075508.46490-1-colin.king@canonical.com
arch/x86/kernel/cpu/resctrl/core.c

index 6a9df71..9cceee6 100644 (file)
@@ -562,7 +562,7 @@ static void domain_add_cpu(int cpu, struct rdt_resource *r)
 
        d = rdt_find_domain(r, id, &add_pos);
        if (IS_ERR(d)) {
-               pr_warn("Could't find cache id for cpu %d\n", cpu);
+               pr_warn("Couldn't find cache id for CPU %d\n", cpu);
                return;
        }
 
@@ -607,7 +607,7 @@ static void domain_remove_cpu(int cpu, struct rdt_resource *r)
 
        d = rdt_find_domain(r, id, NULL);
        if (IS_ERR_OR_NULL(d)) {
-               pr_warn("Could't find cache id for cpu %d\n", cpu);
+               pr_warn("Couldn't find cache id for CPU %d\n", cpu);
                return;
        }