public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] mainline: Fix typo: change aera to area in "*.[ch]"
@ 2011-12-08  1:47 Wang YanQing
  2011-12-08  2:02 ` Dave Young
  0 siblings, 1 reply; 3+ messages in thread
From: Wang YanQing @ 2011-12-08  1:47 UTC (permalink / raw)
  To: trivial; +Cc: lkml

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

Signed-off-by: Wang YanQing <udknight@gmail.com>
---
 arch/x86/pci/pcbios.c            |    2 +-
 net/ipv4/netfilter/nf_nat_core.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/pci/pcbios.c b/arch/x86/pci/pcbios.c
index db0e9a5..da8fe05 100644
--- a/arch/x86/pci/pcbios.c
+++ b/arch/x86/pci/pcbios.c
@@ -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");
 }
 
 /*
diff --git a/net/ipv4/netfilter/nf_nat_core.c b/net/ipv4/netfilter/nf_nat_core.c
index 447bc5c..12a8b74 100644
--- a/net/ipv4/netfilter/nf_nat_core.c
+++ b/net/ipv4/netfilter/nf_nat_core.c
@@ -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 exntension area */
 		nat = nfct_nat(ct);
 		nat->ct = ct;
 		hlist_add_head_rcu(&nat->bysource,
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][TRIVIAL] mainline: Fix typo: change aera to area in "*.[ch]"
  2011-12-08  1:47 [PATCH][TRIVIAL] mainline: Fix typo: change aera to area in "*.[ch]" Wang YanQing
@ 2011-12-08  2:02 ` Dave Young
  2011-12-08  3:57   ` Wang YanQing
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Young @ 2011-12-08  2:02 UTC (permalink / raw)
  To: Wang YanQing, trivial, lkml

On 12/08/2011 09:47 AM, Wang YanQing wrote:

> The shell command below make this patch:
> find . -name "*.[ch]" | xargs grep -l -w "aera" | xargs sed -i s/aera/area/g
> 
> Signed-off-by: Wang YanQing <udknight@gmail.com>
> ---
>  arch/x86/pci/pcbios.c            |    2 +-
>  net/ipv4/netfilter/nf_nat_core.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/pci/pcbios.c b/arch/x86/pci/pcbios.c
> index db0e9a5..da8fe05 100644
> --- a/arch/x86/pci/pcbios.c
> +++ b/arch/x86/pci/pcbios.c
> @@ -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");
>  }
>  
>  /*
> diff --git a/net/ipv4/netfilter/nf_nat_core.c b/net/ipv4/netfilter/nf_nat_core.c
> index 447bc5c..12a8b74 100644
> --- a/net/ipv4/netfilter/nf_nat_core.c
> +++ b/net/ipv4/netfilter/nf_nat_core.c
> @@ -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 exntension area */


s/exntension/extension ?

>  		nat = nfct_nat(ct);
>  		nat->ct = ct;
>  		hlist_add_head_rcu(&nat->bysource,



-- 
Thanks
Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][TRIVIAL] mainline: Fix typo: change aera to area in "*.[ch]"
  2011-12-08  2:02 ` Dave Young
@ 2011-12-08  3:57   ` Wang YanQing
  0 siblings, 0 replies; 3+ messages in thread
From: Wang YanQing @ 2011-12-08  3:57 UTC (permalink / raw)
  To: Dave Young; +Cc: trivial, lkml

On Thu, Dec 08, 2011 at 10:02:36AM +0800, Dave Young wrote:
> s/exntension/extension ?
Yes, I will send the v2 patch!
Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-08  3:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08  1:47 [PATCH][TRIVIAL] mainline: Fix typo: change aera to area in "*.[ch]" Wang YanQing
2011-12-08  2:02 ` Dave Young
2011-12-08  3:57   ` Wang YanQing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox