]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mvneta: Round up top tx buffer boundaries for dcache ops
authorStefan Roese <sr@denx.de>
Thu, 25 Aug 2016 10:56:50 +0000 (12:56 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Sep 2016 15:29:46 +0000 (17:29 +0200)
commit35e3fca7e3ddaa2ae1fe9bd00b22be73e60a6042
tree931f76815b991423052b2136f459859b426d9774
parentcbe7706ab8aab06c18edaa9b120371f9c8012728
net: mvneta: 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 warnings:
CACHE: Misaligned operation at range ...

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvneta.c