Skip to contentSkip to conversation

powerpc/pseries: fix spelling mistake: "Attemping" -> "Attempting"

PATCH In review Colin King 4 participants 5 messages Oct 24, 2016 – Oct 25, 2016 PowerPC

lore
Share & tools
lore

Colin King

author
#0 lore raw

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
index a1b63e0..c8929cb 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Colin King

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 -2
index a1b63e0..c8929cb 100644
@@ -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
#2 lore raw
Quoted 22 lines · Kees Cook
Quoted 21 lines · Colin King

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
index a1b63e0..c8929cb 100644
@@ -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 -1
        rc = dlpar_offline_cpu(dn);
--

2.9.3

scripts/spelling.txt should 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",
#3 lore raw
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_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 -2
index a1b63e0..c8929cb 100644
@@ -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

Quoted 5 lines
Quoted 2 lines

scripts/spelling.txt should 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",
Reviewed-by on v1 1/1
#4 lore raw
In reply to Colin King
Quoted 5 lines · Colin King

From: Colin Ian King <[email protected]>

trivial fix to spelling mistake in pr_debug message

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
index a1b63e0..c8929cb 100644
@@ -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);