From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 4 Dec 2016 18:02:42 -0500 Subject: [U-Boot] [U-Boot,06/12] marvell: comphy_a3700: fix bitmask In-Reply-To: <1479257416-29389-7-git-send-email-andre.przywara@arm.com> References: <1479257416-29389-7-git-send-email-andre.przywara@arm.com> Message-ID: <20161204230242.GP4248@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 Wed, Nov 16, 2016 at 12:50:10AM +0000, Andre Przywara wrote: > Obviously the mask for the rx and tx select field cannot be right, > as it would overlap in one and exceed the 32-bit register in the other > case. From looking at the neighbouring bits it looks like the mask > should be really 4 bits wide instead of 8. > > Pointed out by a GCC 6.2 (default) warning. > > Signed-off-by: Andre Przywara > Reviewed-by: Stefan Roese > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: