
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