net: zynq_gem: Use ulong instead of u32 data type
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 15 Jan 2020 09:15:13 +0000 (02:15 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 28 Feb 2020 11:04:10 +0000 (12:04 +0100)
commitb6779274f2bdbcde2c7fa3a2f90d1db55c02951f
tree9e163f460ed001f002892af3371c528f70c219d5
parent12fdbbe860f395575f360f0c03d84bce61a9a212
net: zynq_gem: Use ulong instead of u32 data type

flush_dcache_range() expects unsigned long in the arguments. Here u32
variable is unable to hold the higher address value when ddr mapped
to higher addresses & flushing lower address dchache range instead
which is unmapped causing to crash.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c