* [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area
@ 2014-06-19 9:31 Vincent Stehlé
2014-06-20 11:11 ` Laurent Pinchart
2014-06-23 0:15 ` Simon Horman
0 siblings, 2 replies; 3+ messages in thread
From: Vincent Stehlé @ 2014-06-19 9:31 UTC (permalink / raw)
To: linux-sh, linux-next
Cc: linux-arm-kernel, linux-kernel, Vincent Stehlé,
Simon Horman, Magnus Damm, Russell King, Geert Uytterhoeven
Commit 5ea3b1b2f8ad 'cma: add placement specifier for "cma=" kernel parameter'
adds a new 'fixed' parameter to dma_contiguous_reserve_area(). Update
rcar_gen2_reserve() accordingly.
This fixes the following compilation error:
arch/arm/mach-shmobile/setup-rcar-gen2.c: In function ‘rcar_gen2_reserve’:
arch/arm/mach-shmobile/setup-rcar-gen2.c:182:10: error: too few arguments to function ‘dma_contiguous_reserve_area’
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
---
Hi,
This can be seen with linux next-20140619 and e.g. arm allmodconfig.
Best regards,
V.
arch/arm/mach-shmobile/setup-rcar-gen2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
index 73fb2a6..42d5b43 100644
--- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
@@ -179,6 +179,6 @@ void __init rcar_gen2_reserve(void)
#ifdef CONFIG_DMA_CMA
if (mrc.size)
dma_contiguous_reserve_area(mrc.size, mrc.base, 0,
- &rcar_gen2_dma_contiguous);
+ &rcar_gen2_dma_contiguous, true);
#endif
}
--
2.0.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area
2014-06-19 9:31 [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area Vincent Stehlé
@ 2014-06-20 11:11 ` Laurent Pinchart
2014-06-23 0:15 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2014-06-20 11:11 UTC (permalink / raw)
To: Vincent Stehlé
Cc: linux-sh, linux-next, linux-arm-kernel, linux-kernel,
Simon Horman, Magnus Damm, Russell King, Geert Uytterhoeven
Hi Vincent,
Thank you for the patch.
On Thursday 19 June 2014 11:31:10 Vincent Stehlé wrote:
> Commit 5ea3b1b2f8ad 'cma: add placement specifier for "cma=" kernel
> parameter' adds a new 'fixed' parameter to dma_contiguous_reserve_area().
> Update rcar_gen2_reserve() accordingly.
>
> This fixes the following compilation error:
>
> arch/arm/mach-shmobile/setup-rcar-gen2.c: In function ‘rcar_gen2_reserve’:
> arch/arm/mach-shmobile/setup-rcar-gen2.c:182:10: error: too few arguments
> to function ‘dma_contiguous_reserve_area’
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>
> Hi,
>
> This can be seen with linux next-20140619 and e.g. arm allmodconfig.
>
> Best regards,
>
> V.
>
> arch/arm/mach-shmobile/setup-rcar-gen2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c
> b/arch/arm/mach-shmobile/setup-rcar-gen2.c index 73fb2a6..42d5b43 100644
> --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
> +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
> @@ -179,6 +179,6 @@ void __init rcar_gen2_reserve(void)
> #ifdef CONFIG_DMA_CMA
> if (mrc.size)
> dma_contiguous_reserve_area(mrc.size, mrc.base, 0,
> - &rcar_gen2_dma_contiguous);
> + &rcar_gen2_dma_contiguous, true);
> #endif
> }
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area
2014-06-19 9:31 [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area Vincent Stehlé
2014-06-20 11:11 ` Laurent Pinchart
@ 2014-06-23 0:15 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-06-23 0:15 UTC (permalink / raw)
To: Vincent Stehlé
Cc: linux-sh, linux-next, linux-arm-kernel, linux-kernel,
Magnus Damm, Russell King, Geert Uytterhoeven
On Thu, Jun 19, 2014 at 11:31:10AM +0200, Vincent Stehlé wrote:
> Commit 5ea3b1b2f8ad 'cma: add placement specifier for "cma=" kernel parameter'
> adds a new 'fixed' parameter to dma_contiguous_reserve_area(). Update
> rcar_gen2_reserve() accordingly.
>
> This fixes the following compilation error:
>
> arch/arm/mach-shmobile/setup-rcar-gen2.c: In function ‘rcar_gen2_reserve’:
> arch/arm/mach-shmobile/setup-rcar-gen2.c:182:10: error: too few arguments to function ‘dma_contiguous_reserve_area’
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>
> Hi,
>
> This can be seen with linux next-20140619 and e.g. arm allmodconfig.
Thanks, I will queue this up in the branch where the patch
that adds this problem lies.
> Best regards,
>
> V.
>
> arch/arm/mach-shmobile/setup-rcar-gen2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
> index 73fb2a6..42d5b43 100644
> --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
> +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
> @@ -179,6 +179,6 @@ void __init rcar_gen2_reserve(void)
> #ifdef CONFIG_DMA_CMA
> if (mrc.size)
> dma_contiguous_reserve_area(mrc.size, mrc.base, 0,
> - &rcar_gen2_dma_contiguous);
> + &rcar_gen2_dma_contiguous, true);
> #endif
> }
> --
> 2.0.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-23 0:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-19 9:31 [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area Vincent Stehlé
2014-06-20 11:11 ` Laurent Pinchart
2014-06-23 0:15 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).