[U-Boot] [PATCH v2] net: e1000: use correct helper to do endianness conversion

Bin Meng bmeng.cn at gmail.com
Mon Dec 21 13:06:01 CET 2015


On Mon, Dec 21, 2015 at 6:07 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 endianness conversion.
>
> Also drop conversion on 'status' which is declared as
> uint8_t.
>
> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
> ---
> Changes in v2:
>   - fix typos in commit message
>
>  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