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

Tom Rini trini at konsulko.com
Mon Jan 4 23:23:17 CET 2016


On Mon, Dec 21, 2015 at 02:07:02AM -0800, Miao Yan 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>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160104/b451bb0d/attachment.sig>


More information about the U-Boot mailing list