diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-29 11:25:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-30 17:54:27 -0400 |
commit | 7d7628f3719e85e41d3948759ef969707036033d (patch) | |
tree | 1cf9e611107f14eb0133e22069e6c6566c8f9737 /kernel/rcutree_plugin.h | |
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>
Diffstat (limited to 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions