Skip to content
Snippets Groups Projects
Commit a40b2dff authored by Miao Yan's avatar Miao Yan Committed by Tom Rini
Browse files

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: default avatarMiao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
parent 18d3f469
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment