From b1a7d4d7eaa805c2d5fc9e960cc7eb4c4b0edcb8 Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Wed, 25 Sep 2013 10:34:04 +0200 Subject: [PATCH] arm:misc fix remove const modifier for value that changes. Change-Id: I4ac96acdc66ea203a339108225c07c68959556c0 --- kernel/arch/earm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/arch/earm/memory.c b/kernel/arch/earm/memory.c index 9ff7acab6..6a9334d5c 100644 --- a/kernel/arch/earm/memory.c +++ b/kernel/arch/earm/memory.c @@ -234,7 +234,7 @@ static int lin_lin_copy(struct proc *srcproc, vir_bytes srclinaddr, static u32_t phys_get32(phys_bytes addr) { - const u32_t v; + u32_t v; int r; if((r=lin_lin_copy(NULL, addr, -- 2.44.0