[U-Boot] net: Declare physical address as phys_addr_t unsigned type

Tom Rini trini at ti.com
Thu Jan 15 15:59:19 CET 2015


On Wed, Jan 14, 2015 at 04:00:39PM +0100, Michal Simek wrote:

> Use phys_addr_t instead of int for addresses.
> Addresses can't be < 0.
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>

Note that this introduces:
w+(microblaze-generic) ../drivers/net/xilinx_ll_temac.c: In function 'll_temac_init':
w+(microblaze-generic) ../drivers/net/xilinx_ll_temac.c:235:3: warning: format '%X' exp

which I know you'll fix soon enough, thanks :)

It also adds:
w+(katmai) ../drivers/net/eepro100.c: In function 'INW':
w+(katmai) ../drivers/net/eepro100.c:243:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(and for OUTW/OUTL/INL) on katmai.  Stefan, you're currently flagged as
maintainer.  Can you take a stab at this?  Thanks!

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/20150115/03ddfa48/attachment.pgp>


More information about the U-Boot mailing list