From: Tom Rini Date: Mon, 4 Jan 2016 17:23:17 -0500 Subject: [U-Boot] [U-Boot, v2] net: e1000: use correct helper to do endianness conversion In-Reply-To: <1450692422-51492-1-git-send-email-yanmiaobest@gmail.com> References: <1450692422-51492-1-git-send-email-yanmiaobest@gmail.com> Message-ID: <20160104222317.GU4093@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Bin Meng 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: