commit | 7d7628f3719e85e41d3948759ef969707036033d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Aug 29 11:25:14 2013 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 30 17:54:27 2013 -0400 |
tree | 1cf9e611107f14eb0133e22069e6c6566c8f9737 | |
parent | f91b29f5b8709a3968ce0e155cfeab2bc6f733dd [diff] |
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 <dan.carpenter@oracle.com> Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>