Searched hist:"7 d7628f3719e85e41d3948759ef969707036033d" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | diff 7d7628f3719e85e41d3948759ef969707036033d Thu Aug 29 10:25:14 CEST 2013 Dan Carpenter <dan.carpenter@oracle.com> 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>
|