mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] MIPS: fix 'assignment makes integer from pointer without a cast' warning
@ 2019-06-13 12:42 Antony Pavlov
  2019-06-17  7:07 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2019-06-13 12:42 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/boot/main_entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index 5b88730b07..4ae4457e7e 100644
--- a/arch/mips/boot/main_entry.c
+++ b/arch/mips/boot/main_entry.c
@@ -85,7 +85,7 @@ void __bare_init main_entry(void *fdt, u32 fdt_size)
 
 	trap_init();
 
-	malloc_end = _stext;
+	malloc_end = (unsigned long)_stext;
 
 	if (MALLOC_SIZE > 0)
 		malloc_start = malloc_end - MALLOC_SIZE;
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-06-17  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 12:42 [PATCH] MIPS: fix 'assignment makes integer from pointer without a cast' warning Antony Pavlov
2019-06-17  7:07 ` Sascha Hauer

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