[U-Boot] [PATCH] net: e1000: use correct hepler to do endianess conversion
Bin Meng
bmeng.cn at gmail.com
Mon Dec 21 10:43:38 CET 2015
On Mon, Dec 21, 2015 at 5:04 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
> In struct e1000_rx_desc, field 'length' is declared as
> uint16_t, so use le16_to_cpu() to do endianess conversion.
>
> Also drop conversion on 'status' which is declared as
> uint8_t.
>
> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
> ---
> drivers/net/e1000.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list