android_kernel_xiaomi_sm8350/drivers/net/ehea
Roland Dreier 3ff2cd230d ehea: Access iph->tot_len with correct endianness
iph->tot_len is stored in network byte order, so access it using
ntohs().  This doesn't have any real world impact on ehea, since ehea
only exists for big-endian platfroms (at the moment at least) but fixing
this gets rid of a sparse warning and avoids having a bad example in the
tree.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-07-04 08:15:28 -04:00
..
ehea_ethtool.c
ehea_hcall.h
ehea_hw.h
ehea_main.c ehea: Access iph->tot_len with correct endianness 2008-07-04 08:15:28 -04:00
ehea_phyp.c
ehea_phyp.h
ehea_qmr.c
ehea_qmr.h
ehea.h ehea: fix race condition 2008-07-04 08:10:41 -04:00
Makefile