From: Dan Carpenter Date: Thu, 29 Aug 2013 08:25:14 +0000 (+0300) Subject: net/fec: cleanup types in fec_get_mac() X-Git-Tag: v3.12-rc1~132^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d7628f3719e85e41d3948759ef969707036033d;p=pandora-kernel.git net/fec: cleanup types in fec_get_mac() My static checker complains that on some arches unsigned longs can be 8 characters which is larger than the buffer is only 6 chars. Additionally, Ben Hutchings points out that the buffer actually holds big endian data and the buffer we are reading from is CPU endian. Signed-off-by: Dan Carpenter Reviewed-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed