]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: ll_temac: Fix compilation warning because of phys_addr_t
authorMichal Simek <michal.simek@xilinx.com>
Thu, 15 Jan 2015 17:52:32 +0000 (18:52 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 21 Jan 2015 09:30:36 +0000 (10:30 +0100)
commit527cd43d75da956f1cd8701e61d2a803fa5199fb
tree185c01ca545173bb843f18f16a9fefc16a598d35
parent5840537879d93814f681d45ccf26d8b171f80acf
net: ll_temac: Fix compilation warning because of phys_addr_t

This patch fix the compilation warning
w+../drivers/net/xilinx_ll_temac.c: In function 'll_temac_init':
w+../drivers/net/xilinx_ll_temac.c:235:3: warning: format '%X' expects
argument of type 'unsigned int', but argument 4 has type 'phys_addr_t'
[-Wformat]
introduced by
"net: Declare physical address as phys_addr_t unsigned type"
(sha1: 16ae7827226ce8b255245d1932e8069f00997a26).

Reported-by: Tom Rini <trini@ti.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/xilinx_ll_temac.c