aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorBhadram Varka <[email protected]>2017-11-02 07:22:13 +0000
committerDavid S. Miller <[email protected]>2017-11-03 05:15:06 +0000
commite73b49ebd9deeb0ff2cd9ac6fd9c72a433d1e062 (patch)
tree5aa5da74e4cc208dd7136dce59cebe288e04850b /net/ipv4/tcp_output.c
parentMerge branch 'net-sched-use-after-free' (diff)
downloadkernel-e73b49ebd9deeb0ff2cd9ac6fd9c72a433d1e062.tar.gz
kernel-e73b49ebd9deeb0ff2cd9ac6fd9c72a433d1e062.zip
stmmac: use of_property_read_u32 instead of read_u8
Numbers in DT are stored in “cells” which are 32-bits in size. of_property_read_u8 does not work properly because of endianness problem. This causes it to always return 0 with little-endian architectures. Fix it by using of_property_read_u32() OF API. Signed-off-by: Bhadram Varka <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions