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

Michal Simek monstr at monstr.eu
Thu Jan 15 19:00:18 CET 2015


On 01/15/2015 03:59 PM, Tom Rini wrote:
> 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 :)

Sent.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150115/38ded799/attachment.pgp>


More information about the U-Boot mailing list