Re: [patch v2] net/fec: cleanup types in fec_get_mac()
From: David Miller <davem@davemloft.net>
Date: 2013-08-30 21:54:57
Also in:
kernel-janitors, netdev
From: David Miller <davem@davemloft.net>
Date: 2013-08-30 21:54:57
Also in:
kernel-janitors, netdev
From: Dan Carpenter <redacted> Date: Thu, 29 Aug 2013 11:25:14 +0300
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 <redacted>
---
v2: fix endian annotations and reverse the beXX_to_cpu() calls so that
they say cpu_to_beXX().Applied, thanks.