net: davinci_emac: Round up top tx buffer boundaries for dcache ops
authorkarl beldan <karl.beldan@gmail.com>
Mon, 15 Aug 2016 17:23:00 +0000 (17:23 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:21:09 +0000 (14:21 -0500)
commit6202b8f28c10977a9533ba4c49574b136a64ce82
treeb961949b017fba14bf43f784d3444dbc84269924
parenta02c232336c626b96e8473f67471d2b82fc0f9d4
net: davinci_emac: Round up top tx buffer boundaries for dcache ops

check_cache_range() warns that the top boundaries are not properly
aligned when flushing or invalidating the buffers and make these
operations fail.

This gets rid of the remaining warnings:
CACHE: Misaligned operation at range

Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers/net/davinci_emac.c