* [U-Boot] [PATCH] spl_nor: fix warning when compiled for 64bit target
@ 2016-02-29 11:50 Masahiro Yamada
2016-03-01 1:59 ` Tom Rini
2016-03-17 2:04 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2016-02-29 11:50 UTC (permalink / raw
To: u-boot
Fix "warning: cast to pointer from integer of different size".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
common/spl/spl_nor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_nor.c b/common/spl/spl_nor.c
index e08afe2..d0bd0b0 100644
--- a/common/spl/spl_nor.c
+++ b/common/spl/spl_nor.c
@@ -59,7 +59,7 @@ int spl_nor_load_image(void)
spl_parse_image_header(
(const struct image_header *)CONFIG_SYS_UBOOT_BASE);
- memcpy((void *)spl_image.load_addr,
+ memcpy((void *)(unsigned long)spl_image.load_addr,
(void *)(CONFIG_SYS_UBOOT_BASE + sizeof(struct image_header)),
spl_image.size);
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] spl_nor: fix warning when compiled for 64bit target
2016-02-29 11:50 [U-Boot] [PATCH] spl_nor: fix warning when compiled for 64bit target Masahiro Yamada
@ 2016-03-01 1:59 ` Tom Rini
2016-03-17 2:04 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-03-01 1:59 UTC (permalink / raw
To: u-boot
On Mon, Feb 29, 2016 at 08:50:34PM +0900, Masahiro Yamada wrote:
> Fix "warning: cast to pointer from integer of different size".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160229/b3d2fecd/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] spl_nor: fix warning when compiled for 64bit target
2016-02-29 11:50 [U-Boot] [PATCH] spl_nor: fix warning when compiled for 64bit target Masahiro Yamada
2016-03-01 1:59 ` Tom Rini
@ 2016-03-17 2:04 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-03-17 2:04 UTC (permalink / raw
To: u-boot
On Mon, Feb 29, 2016 at 08:50:34PM +0900, Masahiro Yamada wrote:
> Fix "warning: cast to pointer from integer of different size".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160316/bba058da/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-17 2:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 11:50 [U-Boot] [PATCH] spl_nor: fix warning when compiled for 64bit target Masahiro Yamada
2016-03-01 1:59 ` Tom Rini
2016-03-17 2:04 ` [U-Boot] " Tom Rini
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.