powerpc/pseries: fix spelling mistake: "Attemping" -> "Attempting"
PATCH 1/1 powerpc/pseries: fix spelling mistake: "Attemping" -> "Attempting"
From: Colin Ian King <[email protected]>
trivial fix to spelling mistake in pr_debug message
--- arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/hotplug-cpu.c +1 -1
@@ -553,7 +553,7 @@ static ssize_t dlpar_cpu_remove(struct device_node *dn, u32 drc_index) {int rc; -pr_debug ("Attemping to remove CPU %s, drc index: %x\n" , +pr_debug ("Attempting to remove CPU %s, drc index: %x\n" , dn->name, drc_index); rc =dlpar_offline_cpu (dn);
Signature · 1 line
2.9.3
Quoted 23 lines · Colin King
From: Colin Ian King <[email protected]>
trivial fix to spelling mistake in
pr_debugmessageSigned-off-by Colin Ian King <[email protected]>--- arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/hotplug-cpu.c +1
-2@@ -553,7 +553,7 @@ static ssize_t dlpar_cpu_remove(struct device_node *dn, u32 drc_index) {int rc; -pr_debug ("Attemping to remove CPU %s, drc index: %x\n" , +pr_debug ("Attempting to remove CPU %s, drc index: %x\n" , dn->name, drc_index); rc =dlpar_offline_cpu (dn); --
Quoted 1 line
2.9.3
scripts/spelling.txt should likely get an addition for "attemping". It already has "attemps"...
-Kees
Signature · 2 lines
Kees Cook Nexus Security
Quoted 22 lines · Kees Cook
Quoted 21 lines · Colin King
From: Colin Ian King <[email protected]>
trivial fix to spelling mistake in
pr_debugmessageSigned-off-by Colin Ian King <[email protected]>--- arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/hotplug-cpu.c +1
-1@@ -553,7 +553,7 @@ static ssize_t dlpar_cpu_remove(struct device_node *dn, u32 drc_index) {int rc; -pr_debug ("Attemping to remove CPU %s, drc index: %x\n" , +pr_debug ("Attempting to remove CPU %s, drc index: %x\n" , dn->name, drc_index);
Quoted 8 lines
Quoted 3 lines
arch/powerpc/platforms/pseries/hotplug-cpu.c +0
-1rc =dlpar_offline_cpu (dn); --2.9.3
Reviewed-by Kees Cook <[email protected]>
scripts/spelling.txtshould likely get an addition for "attemping". It already has "attemps"...
There may not be enough of these to be useful and to my knowledge Colin isn't fixing comments
$ grep -rP --include=*.[ch] -wi "at+emp*t?ing" * | grep -vi attempting
arch/x86/platform/uv/uv_nmi.c:/* Ping non-responding cpus attemping to force them into the NMI handler */
arch/powerpc/platforms/pseries/hotplug-cpu.c: pr_debug("Attemping to remove CPU %s, drc index: %x\n",Quoted 29 lines · Joe Perches
Quoted 28 lines · Kees Cook
Quoted 23 lines · Colin King
From: Colin Ian King <[email protected]>
trivial fix to spelling mistake in
pr_debugmessageSigned-off-by Colin Ian King <[email protected]>--- arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/hotplug-cpu.c +1
-2@@ -553,7 +553,7 @@ static ssize_t dlpar_cpu_remove(struct device_node *dn, u32 drc_index) {int rc; -pr_debug ("Attemping to remove CPU %s, drc index: %x\n" , +pr_debug ("Attempting to remove CPU %s, drc index: %x\n" , dn->name, drc_index); rc =dlpar_offline_cpu (dn); --Quoted 1 line
2.9.3
Reviewed-by Kees Cook <[email protected]>
Quoted 5 lines
Quoted 2 lines
scripts/spelling.txtshould likely get an addition for "attemping". It already has "attemps"...There may not be enough of these to be useful and to my knowledge Colin isn't fixing comments
Indeed, I'm just using my kernelscan tool to scrape for errors in kernel messages as these are seen by users as opposed to comments. Plus the occurrences of the mistakes I'm finding are generally very small.
Quoted 5 lines
$ grep -rP --include=*.[ch] -wi "at+emp*t?ing" * | grep -vi attempting
arch/x86/platform/uv/uv_nmi.c:/* Ping non-responding cpus attemping to force them into the NMI handler */
arch/powerpc/platforms/pseries/hotplug-cpu.c: pr_debug("Attemping to remove CPU %s, drc index: %x\n",Quoted 5 lines · Colin King
From: Colin Ian King <[email protected]>
trivial fix to spelling mistake in
pr_debugmessageSigned-off-by Colin Ian King <[email protected]>
Quoted 18 lines
--- arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/hotplug-cpu.c +1
-1@@ -553,7 +553,7 @@ static ssize_t dlpar_cpu_remove(struct device_node *dn, u32 drc_index) {int rc; -pr_debug ("Attemping to remove CPU %s, drc index: %x\n" , +pr_debug ("Attempting to remove CPU %s, drc index: %x\n" , dn->name, drc_index); rc =dlpar_offline_cpu (dn);