diff options
author | Miao Yan <yanmiaobest@gmail.com> | 2015-12-21 02:07:02 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-04 12:25:35 -0500 |
commit | a40b2dff7bec6c1656a59ce31c16207b8954eb68 (patch) | |
tree | 9f2ff24c83b669061f960ec0ab1957a210f4556b /common/cmd_i2c.c | |
parent | 18d3f46995319dfcb7f73c7c6a5e5da6b8e57e69 (diff) | |
download | blackbird-obmc-uboot-a40b2dff7bec6c1656a59ce31c16207b8954eb68.tar.gz blackbird-obmc-uboot-a40b2dff7bec6c1656a59ce31c16207b8954eb68.zip |
net: e1000: use correct helper to do endianness conversion
In struct e1000_rx_desc, field 'length' is declared as
uint16_t, so use le16_to_cpu() to do endianness conversion.
Also drop conversion on 'status' which is declared as
uint8_t.
Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/cmd_i2c.c')
0 files changed, 0 insertions, 0 deletions