From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 15 Dec 2015 08:52:19 +0800 Subject: [U-Boot] [PATCH 3/4] qbman_portal.c: Update BUG_ON() call in qbman_swp_mc_submit In-Reply-To: <1448715883-14099-3-git-send-email-trini@konsulko.com> References: <1448715883-14099-1-git-send-email-trini@konsulko.com> <1448715883-14099-3-git-send-email-trini@konsulko.com> Message-ID: <566F6443.9090002@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/28/2015 09:04 PM, Tom Rini wrote: > With gcc-5.x we get a warning about the ambiguity of BUG_ON(!a != b) and > becomes BUG_ON((!a) != b). In this case reading of the function leads to > us wanting to rewrite this as BUG_ON(a != b). > > Cc: Prabhakar Kushwaha > Cc: Geoff Thorpe > Cc: Haiying Wang > Cc: Roy Pledge > Cc: York Sun > Signed-off-by: Tom Rini > --- Applied to fsl-qoriq master. Awaiting upstream. York