From: Anton Blanchard Date: Fri, 22 Aug 2014 01:36:52 +0000 (+1000) Subject: ibmveth: Fix endian issues with rx_no_buffer statistic X-Git-Tag: omap-for-v3.17/fixes-against-rc2~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbd5228199d8be45d895d9d0cc2b8ce53835fc21;p=pandora-kernel.git ibmveth: Fix endian issues with rx_no_buffer statistic Hidden away in the last 8 bytes of the buffer_list page is a solitary statistic. It needs to be byte swapped or else ethtool -S will produce numbers that terrify the user. Since we do this in multiple places, create a helper function with a comment explaining what is going on. Signed-off-by: Anton Blanchard Cc: stable@vger.kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed