From: Masahiro Yamada Date: Thu, 23 Jan 2014 16:08:09 +0900 Subject: [U-Boot] Warnings on arm64 build Message-ID: <20140123160809.745E.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello aarch64 experts, Since commit 3865ceb (vexpress/armv7: Fix incorrect ethernet controller), I have many warning messages when I compile vexpress board. smc91111.c: In function ?poll4int?: smc91111.h:252:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r)))) ^ smc91111.c:242:18: note: in expansion of macro ?SMC_inw? word old_bank = SMC_inw (dev, BSR_REG); ^ smc91111.h:261:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d) ^ smc91111.h:747:33: note: in expansion of macro ?SMC_outw? #define SMC_SELECT_BANK(a,x) { SMC_outw((a), (x), BANK_SELECT ); } Best Regards Masahiro Yamada