Skip to contentSkip to conversation

irqdomain: Couple of typo fixes

PATCH In review Bhaskar Chowdhury 2 participants 2 messages Mar 22, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqdomain: Couple of typo fixes

s/nececssary/necessary/ ....two different places

---
 kernel/irq/irqdomain.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/irq/irqdomain.c +3 -3
index d10ab1d689d5..349adef40c9d 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+\// SPDX-License-Identifier: GPL-2.0
 
 #define pr_fmt(fmt)  "irq: " fmt
 
@@ -665,7 +665,7 @@ unsigned int irq_create_mapping_affinity(struct irq_domain *domain,
 
 	pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq);
 
-	/* Look for default domain if nececssary */
+	/* Look for default domain if necessary */
 	if (domain == NULL)
 		domain = irq_default_domain;
 	if (domain == NULL) {
@@ -906,7 +906,7 @@ unsigned int irq_find_mapping(struct irq_domain *domain,
 {
 	struct irq_data *data;
 
-	/* Look for default domain if nececssary */
+	/* Look for default domain if necessary */
 	if (domain == NULL)
 		domain = irq_default_domain;
 	if (domain == NULL)

--
2.31.0

#1 lore raw
Quoted 12 lines · Bhaskar Chowdhury

s/nececssary/necessary/ ....two different places

---
 kernel/irq/irqdomain.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/irq/irqdomain.c +0 -0
index d10ab1d689d5..349adef40c9d 100644

kernel/irq/irqdomain.c line 1

Quoted 2 lines
kernel/irq/irqdomain.c +1 -1
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+\// SPDX-License-Identifier: GPL-2.0

What is the above change supposed to be?

Quoted 22 lines
kernel/irq/irqdomain.c +2 -3
 #define pr_fmt(fmt)  "irq: " fmt
 
@@ -665,7 +665,7 @@ unsigned int irq_create_mapping_affinity(struct irq_domain *domain,
 
 	pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq);
 
-	/* Look for default domain if nececssary */
+	/* Look for default domain if necessary */
 	if (domain == NULL)
 		domain = irq_default_domain;
 	if (domain == NULL) {
@@ -906,7 +906,7 @@ unsigned int irq_find_mapping(struct irq_domain *domain,
 {
 	struct irq_data *data;
 
-	/* Look for default domain if nececssary */
+	/* Look for default domain if necessary */
 	if (domain == NULL)
 		domain = irq_default_domain;
 	if (domain == NULL)
--
Signature · 1 line
~Randy