diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-29 10:25:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-30 23:54:27 +0200 |
commit | 7d7628f3719e85e41d3948759ef969707036033d (patch) | |
tree | 1cf9e611107f14eb0133e22069e6c6566c8f9737 /net/sched/sch_mqprio.c | |
parent | net: stmmac: use dev_get_platdata() (diff) | |
download | linux-7d7628f3719e85e41d3948759ef969707036033d.tar.xz linux-7d7628f3719e85e41d3948759ef969707036033d.zip |
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 'net/sched/sch_mqprio.c')
0 files changed, 0 insertions, 0 deletions