[U-Boot] [PATCH 3/4] qbman_portal.c: Update BUG_ON() call in qbman_swp_mc_submit

York Sun yorksun at freescale.com
Tue Dec 15 01:52:19 CET 2015



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 <prabhakar at freescale.com>
> Cc: Geoff Thorpe <Geoff.Thorpe at freescale.com>
> Cc: Haiying Wang <Haiying.Wang at freescale.com>
> Cc: Roy Pledge <Roy.Pledge at freescale.com>
> Cc: York Sun <yorksun at freescale.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---

Applied to fsl-qoriq master. Awaiting upstream.

York


More information about the U-Boot mailing list