All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7/7] mm/memory.c : cleanup the coding style issue
@ 2012-06-15 13:20 ` Wanpeng Li
  0 siblings, 0 replies; 6+ messages in thread
From: Wanpeng Li @ 2012-06-15 13:20 UTC (permalink / raw)
  To: trivial
  Cc: Benjamin Herrenschmidt, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, x86, Bjorn Helgaas, Johannes Weiner,
	Michal Hocko, Balbir Singh, KAMEZAWA Hiroyuki, Tejun Heo,
	Li Zefan, Christoph Lameter, Paul Gortmaker, Jesse Barnes,
	Milton Miller, Nishanth Aravamudan, Stephen Rothwell,
	Peter Zijlstra, Jason Wessel, Jan Kiszka, David Howells,
	Srikar Dronamraju, Andrew Morton, Mel Gorman, Minchan Kim,
	Gavin Shan, Al Viro, Andrea Arcangeli, David Rientjes,
	KOSAKI Motohiro, Larry Woodman, Hugh Dickins, linuxppc-dev,
	linux-kernel, linux-pci, linux-mm, cgroups, Wanpeng Li

From: Wanpeng Li <liwp@linux.vnet.ibm.com>

Signed-off-by: Wanpeng Li <liwp.linux@gmail.com>

---
 mm/memory.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mm/memory.c b/mm/memory.c
index 1b7dc66..195d6e1 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+		unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have
-- 
1.7.9.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* [PATCH 7/7] mm/memory.c : cleanup the coding style issue
@ 2012-06-15 13:20 ` Wanpeng Li
  0 siblings, 0 replies; 6+ messages in thread
From: Wanpeng Li @ 2012-06-15 13:20 UTC (permalink / raw)
  To: trivial
  Cc: Christoph Lameter, Srikar Dronamraju, linux-pci, Jesse Barnes,
	David Howells, Paul Gortmaker, H. Peter Anvin, Larry Woodman,
	Andrea Arcangeli, Stephen Rothwell, Gavin Shan, x86,
	Hugh Dickins, Ingo Molnar, KOSAKI Motohiro, Jan Kiszka,
	Nishanth Aravamudan, Wanpeng Li, Peter Zijlstra, Mel Gorman,
	Jason Wessel, Al Viro, Bjorn Helgaas, cgroups, Thomas Gleixner,
	KAMEZAWA Hiroyuki, Michal Hocko, linux-mm, linux-kernel,
	Milton Miller, Minchan Kim, Li Zefan, Johannes Weiner, Tejun Heo,
	David Rientjes, Andrew Morton, linuxppc-dev

From: Wanpeng Li <liwp@linux.vnet.ibm.com>

Signed-off-by: Wanpeng Li <liwp.linux@gmail.com>

---
 mm/memory.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mm/memory.c b/mm/memory.c
index 1b7dc66..195d6e1 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+		unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have
-- 
1.7.9.5

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

* [PATCH 7/7] mm/memory.c : cleanup the coding style issue
@ 2012-06-15 13:20 ` Wanpeng Li
  0 siblings, 0 replies; 6+ messages in thread
From: Wanpeng Li @ 2012-06-15 13:20 UTC (permalink / raw)
  To: trivial
  Cc: Benjamin Herrenschmidt, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, x86, Bjorn Helgaas, Johannes Weiner,
	Michal Hocko, Balbir Singh, KAMEZAWA Hiroyuki, Tejun Heo,
	Li Zefan, Christoph Lameter, Paul Gortmaker, Jesse Barnes,
	Milton Miller, Nishanth Aravamudan, Stephen Rothwell,
	Peter Zijlstra, Jason Wessel, Jan Kiszka, David Howells,
	Srikar Dronamraju

From: Wanpeng Li <liwp@linux.vnet.ibm.com>

Signed-off-by: Wanpeng Li <liwp.linux@gmail.com>

---
 mm/memory.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mm/memory.c b/mm/memory.c
index 1b7dc66..195d6e1 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+		unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have
-- 
1.7.9.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [PATCH 7/7] mm/memory.c : cleanup the coding style issue
  2012-06-15 13:20 ` Wanpeng Li
  (?)
@ 2012-06-15 19:40   ` KOSAKI Motohiro
  -1 siblings, 0 replies; 6+ messages in thread
From: KOSAKI Motohiro @ 2012-06-15 19:40 UTC (permalink / raw)
  To: liwp.linux
  Cc: trivial, benh, tglx, mingo, hpa, x86, bhelgaas, hannes, mhocko,
	bsingharora, kamezawa.hiroyu, tj, lizefan, cl, paul.gortmaker,
	jbarnes, miltonm, nacc, sfr, a.p.zijlstra, jason.wessel,
	jan.kiszka, dhowells, srikar, akpm, mel, minchan, shangw, viro,
	aarcange, rientjes, kosaki.motohiro, lwoodman, hughd,
	linuxppc-dev, linux-kernel, linux-pci, linux-mm, cgroups

> diff --git a/mm/memory.c b/mm/memory.c
> index 1b7dc66..195d6e1 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
>  	return same;
>  }
>  
> -static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
> +static inline void cow_user_page(struct page *dst, struct page *src,
> +		unsigned long va, struct vm_area_struct *vma)
>  {
>  	/*
>  	 * If the source page was a PFN mapping, we don't have

Nowadays, many developers prefer to declare a function in one line. and we don't think
this is incorrect anymore. so, I think this is intentional.

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

* Re: [PATCH 7/7] mm/memory.c : cleanup the coding style issue
@ 2012-06-15 19:40   ` KOSAKI Motohiro
  0 siblings, 0 replies; 6+ messages in thread
From: KOSAKI Motohiro @ 2012-06-15 19:40 UTC (permalink / raw)
  To: liwp.linux
  Cc: trivial, benh, tglx, mingo, hpa, x86, bhelgaas, hannes, mhocko,
	bsingharora, kamezawa.hiroyu, tj, lizefan, cl, paul.gortmaker,
	jbarnes, miltonm, nacc, sfr, a.p.zijlstra, jason.wessel,
	jan.kiszka, dhowells, srikar, akpm, mel, minchan, shangw, viro,
	aarcange, rientjes, kosaki.motohiro, lwoodman, hughd,
	linuxppc-dev, linux-kernel, linux-pci, linux-mm, cgroups

> diff --git a/mm/memory.c b/mm/memory.c
> index 1b7dc66..195d6e1 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
>  	return same;
>  }
>  
> -static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
> +static inline void cow_user_page(struct page *dst, struct page *src,
> +		unsigned long va, struct vm_area_struct *vma)
>  {
>  	/*
>  	 * If the source page was a PFN mapping, we don't have

Nowadays, many developers prefer to declare a function in one line. and we don't think
this is incorrect anymore. so, I think this is intentional.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [PATCH 7/7] mm/memory.c : cleanup the coding style issue
@ 2012-06-15 19:40   ` KOSAKI Motohiro
  0 siblings, 0 replies; 6+ messages in thread
From: KOSAKI Motohiro @ 2012-06-15 19:40 UTC (permalink / raw)
  To: liwp.linux
  Cc: cl, srikar, linux-pci, jbarnes, mhocko, paul.gortmaker, hpa,
	lwoodman, aarcange, sfr, shangw, x86, hughd, mingo,
	kosaki.motohiro, jan.kiszka, nacc, a.p.zijlstra, mel,
	jason.wessel, viro, bhelgaas, cgroups, tglx, kamezawa.hiroyu,
	dhowells, trivial, linux-mm, linux-kernel, miltonm, minchan,
	lizefan, hannes, tj, rientjes, akpm, linuxppc-dev

> diff --git a/mm/memory.c b/mm/memory.c
> index 1b7dc66..195d6e1 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
>  	return same;
>  }
>  
> -static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
> +static inline void cow_user_page(struct page *dst, struct page *src,
> +		unsigned long va, struct vm_area_struct *vma)
>  {
>  	/*
>  	 * If the source page was a PFN mapping, we don't have

Nowadays, many developers prefer to declare a function in one line. and we don't think
this is incorrect anymore. so, I think this is intentional.

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

end of thread, other threads:[~2012-06-15 19:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15 13:20 [PATCH 7/7] mm/memory.c : cleanup the coding style issue Wanpeng Li
2012-06-15 13:20 ` Wanpeng Li
2012-06-15 13:20 ` Wanpeng Li
2012-06-15 19:40 ` KOSAKI Motohiro
2012-06-15 19:40   ` KOSAKI Motohiro
2012-06-15 19:40   ` KOSAKI Motohiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.