Thread (9 messages) 9 messages, 4 authors, 2013-08-30

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: 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help