commit | a40b2dff7bec6c1656a59ce31c16207b8954eb68 | [log] [tgz] |
---|---|---|
author | Miao Yan <yanmiaobest@gmail.com> | Mon Dec 21 02:07:02 2015 -0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 04 12:25:35 2016 -0500 |
tree | 9f2ff24c83b669061f960ec0ab1957a210f4556b | |
parent | 18d3f46995319dfcb7f73c7c6a5e5da6b8e57e69 [diff] |
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>