net/fec: cleanup types in fec_get_mac()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 29 Aug 2013 08:25:14 +0000 (11:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:54:27 +0000 (17:54 -0400)
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 <dan.carpenter@oracle.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found