]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: xilinx: axi_emac: Typecast flush_cache arguments
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Thu, 3 Sep 2020 14:36:44 +0000 (08:36 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
commit315a3c337749a45daf900ec8fca642a861521e7d
tree6dabc867f9af484717a681e4b5692b715d374674
parentf9d3b318832762ec8005b702b1724c0166e0aa36
net: xilinx: axi_emac: Typecast flush_cache arguments

flush_cache() arguments are not type casted to take care of 64 bit
systems. Use phys_addr_t to type cast for it to work properly for 32 bit
and 64 bit systems.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/xilinx_axi_emac.c