Skip to contentSkip to conversation

mainline: Fix typo: change aera to area, exntension to extension in "*.[ch]"

PATCH New Wang YanQing 1 participant 1 message Dec 8, 2011

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

PATCH v2 1/1 mainline: Fix typo: change aera to area, exntension to extension in "*.[ch]"

The shell command below make this patch:
find . -name "*.[ch]" | xargs grep -l -w "aera" | xargs sed -i s/aera/area/g find . -name "*.[ch]" | xargs grep -l -w "exntension" | xargs sed -i s/exntension/extension/g

---
 arch/x86/pci/pcbios.c            |    2 +-
 net/ipv4/netfilter/nf_nat_core.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/pci/pcbios.c +1 -1
index db0e9a5..da8fe05 100644
@@ -44,7 +44,7 @@ static inline void set_bios_x(void)
 	pcibios_enabled = 1;
 	set_memory_x(PAGE_OFFSET + BIOS_BEGIN, (BIOS_END - BIOS_BEGIN) >> PAGE_SHIFT);
 	if (__supported_pte_mask & _PAGE_NX)
-		printk(KERN_INFO "PCI : PCI BIOS aera is rw and x. Use pci=nobios if you want it NX.\n");
+		printk(KERN_INFO "PCI : PCI BIOS area is rw and x. Use pci=nobios if you want it NX.\n");
 }
 
 /*
net/ipv4/netfilter/nf_nat_core.c +1 -1
index 447bc5c..072bb53 100644
@@ -318,7 +318,7 @@ nf_nat_setup_info(struct nf_conn *ct,
 		srchash = hash_by_src(net, nf_ct_zone(ct),
 				      &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple);
 		spin_lock_bh(&nf_nat_lock);
-		/* nf_conntrack_alter_reply might re-allocate exntension aera */
+		/* nf_conntrack_alter_reply might re-allocate extension area */
 		nat = nfct_nat(ct);
 		nat->ct = ct;
 		hlist_add_head_rcu(&nat->bysource,
Signature · 1 line
1.7.3.4