From: Lothar Waßmann Date: Mon, 17 Nov 2014 09:51:22 +0000 (+0100) Subject: net: fec: use swab32s() instead of cpu_to_be32() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~177^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e453789a66ab152ecee80ded3279539d826c48ed;p=pandora-kernel.git net: fec: use swab32s() instead of cpu_to_be32() when swap_buffer() is being called, we know for sure, that we need to byte swap the data. Furthermore, this function is called for swapping data in both directions. Thus cpu_to_be32() is semantically not correct for all use cases. Use swab32s() to reflect this. Signed-off-by: Lothar Waßmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed