linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm:cma - Fix for typos in comments.
@ 2015-05-23  5:10 Shailendra Verma
  2015-05-25 15:54 ` Michal Nazarewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Shailendra Verma @ 2015-05-23  5:10 UTC (permalink / raw)
  To: Andrew Morton, Michal Nazarewicz, Marek Szyprowski, Joonsoo Kim,
	Aneesh Kumar K.V, Laurent Pinchart, Sasha Levin, linux-mm
  Cc: linux-kernel, Shailendra Verma


Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
 mm/cma.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/cma.c b/mm/cma.c
index 3a7a67b..6612780 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -182,7 +182,7 @@ int __init cma_init_reserved_mem(phys_addr_t base, phys_addr_t size,
 	if (!size || !memblock_is_region_reserved(base, size))
 		return -EINVAL;
 
-	/* ensure minimal alignment requied by mm core */
+	/* ensure minimal alignment required by mm core */
 	alignment = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order);
 
 	/* alignment should be aligned with order_per_bit */
@@ -238,7 +238,7 @@ int __init cma_declare_contiguous(phys_addr_t base,
 	/*
 	 * high_memory isn't direct mapped memory so retrieving its physical
 	 * address isn't appropriate.  But it would be useful to check the
-	 * physical address of the highmem boundary so it's justfiable to get
+	 * physical address of the highmem boundary so it's justifiable to get
 	 * the physical address from it.  On x86 there is a validation check for
 	 * this case, so the following workaround is needed to avoid it.
 	 */
-- 
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	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm:cma - Fix for typos in comments.
  2015-05-23  5:10 [PATCH] mm:cma - Fix for typos in comments Shailendra Verma
@ 2015-05-25 15:54 ` Michal Nazarewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Nazarewicz @ 2015-05-25 15:54 UTC (permalink / raw)
  To: Shailendra Verma, Andrew Morton, Marek Szyprowski, Joonsoo Kim,
	Aneesh Kumar K.V, Laurent Pinchart, Sasha Levin, linux-mm
  Cc: linux-kernel

On Sat, May 23 2015, Shailendra Verma wrote:
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>

> ---
>  mm/cma.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/cma.c b/mm/cma.c
> index 3a7a67b..6612780 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -182,7 +182,7 @@ int __init cma_init_reserved_mem(phys_addr_t base, phys_addr_t size,
>  	if (!size || !memblock_is_region_reserved(base, size))
>  		return -EINVAL;
>  
> -	/* ensure minimal alignment requied by mm core */
> +	/* ensure minimal alignment required by mm core */
>  	alignment = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order);
>  
>  	/* alignment should be aligned with order_per_bit */
> @@ -238,7 +238,7 @@ int __init cma_declare_contiguous(phys_addr_t base,
>  	/*
>  	 * high_memory isn't direct mapped memory so retrieving its physical
>  	 * address isn't appropriate.  But it would be useful to check the
> -	 * physical address of the highmem boundary so it's justfiable to get
> +	 * physical address of the highmem boundary so it's justifiable to get
>  	 * the physical address from it.  On x86 there is a validation check for
>  	 * this case, so the following workaround is needed to avoid it.
>  	 */
> -- 
> 1.7.9.5
>

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +--<mpn@google.com>--<xmpp:mina86@jabber.org>--ooO--(_)--Ooo--

--
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] 2+ messages in thread

end of thread, other threads:[~2015-05-25 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-23  5:10 [PATCH] mm:cma - Fix for typos in comments Shailendra Verma
2015-05-25 15:54 ` Michal Nazarewicz

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